<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Web designer &#38; developer in Dhaka, Bangladesh</title> <atom:link href="http://www.skwebdesigner.com/feed/" rel="self" type="application/rss+xml" /><link>http://www.skwebdesigner.com</link> <description></description> <lastBuildDate>Fri, 11 May 2012 10:05:29 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Remove wordpress logo &amp; menu from admin bar (dashboard) right corner!</title><link>http://www.skwebdesigner.com/remove-wordpress-logo-and-menu-from-admin-bar-wp-dashboard-right-corner/</link> <comments>http://www.skwebdesigner.com/remove-wordpress-logo-and-menu-from-admin-bar-wp-dashboard-right-corner/#comments</comments> <pubDate>Mon, 23 Apr 2012 11:52:39 +0000</pubDate> <dc:creator>Khaled Bin A Quadir</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[Customize WP dashboard]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[Wordress dashboard]]></category><guid
isPermaLink="false">http://www.skwebdesigner.com/?p=654</guid> <description><![CDATA[When you want to customize WordPress dashboard for your client, It is necessary to remove the WordPress logo and unnecessary admin menu like ( about WordPress, WordPress.org, Documentation etc. ). So, The following tips is about how to: Remove wordpress logo and menu from admin bar (wp dashboard) right corner! Simply add this following functions [...]]]></description> <content:encoded><![CDATA[<h6>When you want to customize WordPress dashboard for your client, It is necessary to remove the WordPress logo and unnecessary admin menu like ( about WordPress, WordPress.org, Documentation etc. ). So, The following tips is about how to:</h6><h1>Remove wordpress logo and menu from admin bar (wp dashboard) right corner!</h1><p>Simply add this following functions to your theme&#8217;s function.php file.</p><p>&nbsp;</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> kh_remove_wp_logo<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wp_admin_bar</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$wp_admin_bar</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">remove_menu</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp-logo'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
&nbsp;
add_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_before_admin_bar_render'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'kh_remove_wp_logo'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>]]></content:encoded> <wfw:commentRss>http://www.skwebdesigner.com/remove-wordpress-logo-and-menu-from-admin-bar-wp-dashboard-right-corner/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>WordPress error &#8220;You do not have sufficient permissions to access this page.&#8221;</title><link>http://www.skwebdesigner.com/wordpress-error-you-do-not-have-sufficient-permissions-to-access-this-page/</link> <comments>http://www.skwebdesigner.com/wordpress-error-you-do-not-have-sufficient-permissions-to-access-this-page/#comments</comments> <pubDate>Tue, 28 Feb 2012 17:51:10 +0000</pubDate> <dc:creator>Khaled Bin A Quadir</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[permissions]]></category> <category><![CDATA[phpmyadmin]]></category> <category><![CDATA[table prefix]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[wp_]]></category><guid
isPermaLink="false">http://www.skwebdesigner.com/?p=625</guid> <description><![CDATA[What to do when you face WordPress error “You do not have sufficient permissions to access this page.”!!! So,  you have also faced the same problem like me after changing the default wordpress table prefix from wp_ to something else. Let&#8217;s see how I solved the problem! After installing the WSD security plugin this morning, it suggested me to [...]]]></description> <content:encoded><![CDATA[<h1>What to do when you face WordPress error “You do not have sufficient permissions to access this page.”!!!</h1><p>So,  you have also faced the same problem like me after changing the default <strong>wordpress table prefix</strong> from <strong>wp_</strong> to something else. Let&#8217;s see how I solved the problem!</p><p>After installing the WSD security plugin this morning, it suggested me to changed the default <strong>wordpress table prefix </strong>to make my wp website more secure. I did so and then when I tried &#8220;/wp-admin&#8221; I got this stupid error <strong>&#8220;You do not have sufficient permissions to access this page.&#8221; </strong>Nothing worked except the front-end site.</p><p>Here is the solution to for this problem:</p><h2>Step 1:</h2><p>I entered phpmyadmin and took a backup of the website.</p><h2>Step 2:</h2><p>My old <strong>wordpress table prefix </strong>was <strong>&#8220;wp_&#8221;</strong> and I changed this to <strong>&#8220;wpkh_&#8221;</strong></p><p>The following meta_key values does not change even after changing the <strong>wordpress table prefix:</strong></p><ul><li>wp_user_level</li><li>wp_capabilities</li><li>wp_autosave_draft_ids</li></ul><p>I wrote an SQL statement to update meta_key values to:</p><ul><li>wpkh_user_level</li><li>wpkh_capabilities</li><li>wpkh_autosave_draft_ids</li></ul><div><div
class="wp_syntax"><div
class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">UPDATE</span> <span style="color: #ff0000;">`wpkh_usermeta`</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color: #ff0000;">`meta_key`</span> <span style="color: #66cc66;">=</span> <span style="color: #993333; font-weight: bold;">REPLACE</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">`meta_key`</span> <span style="color: #66cc66;">,</span> <span style="color: #ff0000;">'wp_'</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">'wpkh_'</span> <span style="color: #66cc66;">&#41;</span>;</pre></div></div></div><h2>Step 3:</h2><p>In the options table, I had to change the <strong>‘wp_user_roles’</strong> into <strong>‘wpkh_user_roles’</strong> by following SQL query:</p><div
class="wp_syntax"><div
class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">UPDATE</span> <span style="color: #ff0000;">`prefix_options`</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color: #ff0000;">`option_name`</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'prefix_user_roles'</span> <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #ff0000;">`option_name`</span> <span style="color: #66cc66;">=</span><span style="color: #ff0000;">'wp_user_roles'</span> <span style="color: #993333; font-weight: bold;">AND</span> <span style="color: #ff0000;">`blog_id`</span> <span style="color: #66cc66;">=</span><span style="color: #cc66cc;">0</span>;</pre></div></div><p>Done! I was able to access the admin panel successfully <img
src='http://www.skwebdesigner.com/wp-includes/images/smilies/icon_smile.gif' alt="icon smile Wordpress error You do not have sufficient permissions to access this page." class='wp-smiley' title="Wordpress error You do not have sufficient permissions to access this page." /></p> ]]></content:encoded> <wfw:commentRss>http://www.skwebdesigner.com/wordpress-error-you-do-not-have-sufficient-permissions-to-access-this-page/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>PHP script to save facebook user information to MySQL database and automatically publish to Wall</title><link>http://www.skwebdesigner.com/php-script-to-save-facebook-user-information-to-mysql-database/</link> <comments>http://www.skwebdesigner.com/php-script-to-save-facebook-user-information-to-mysql-database/#comments</comments> <pubDate>Fri, 10 Feb 2012 05:46:11 +0000</pubDate> <dc:creator>Khaled Bin A Quadir</dc:creator> <category><![CDATA[facebook]]></category> <category><![CDATA[Facebook]]></category> <category><![CDATA[Facebook application]]></category> <category><![CDATA[Facebook connect]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[publish to facebook wall]]></category><guid
isPermaLink="false">http://www.skwebdesigner.com/?p=586</guid> <description><![CDATA[So, Are you looking for a PHP script that can authenticate facebook users information, save those to MySQL database and can automatically publish to users Wall ? In recent times peoples are losing interest to subscribe/ register on sites filling forms! Most people use facebook and there is a easy way to collect their information [...]]]></description> <content:encoded><![CDATA[<h1> So, Are you looking for a PHP script that can authenticate facebook users information, save those to MySQL database and can automatically publish to users Wall ?</h1><p>In recent times peoples are losing interest to subscribe/ register on sites filling forms! Most people use facebook and there is a easy way to collect their information like email, name, birthday or picture etc.<br
/> I wrote a PHP script that can automatically collect user information and save the to MySQL database. It also automatically publish posts to users Wall.</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
</pre></td><td
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #990000;">session_start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Location: home.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'localhost'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'username'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'password'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'dbname'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># require library
</span><span style="color: #b1b100;">require</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;facebook.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Creating the facebook object
</span><span style="color: #000088;">$facebook</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Facebook<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
            <span style="color: #0000ff;">'appId'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'YOUR APP ID'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'secret'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'APP SECRET CODE'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'cookie'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">true</span>
        <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># check active session
</span><span style="color: #000088;">$session</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getSession</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$session</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;"># session active, get user id (getUser()) and user info (api-&gt;('/me'))
</span>    try <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$uid</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getUser</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$fb_access_token</span><span style="color: #339933;">=</span><span style="color: #000088;">$session</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'access_token'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getLoginUrl</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
            <span style="color: #0000ff;">'req_perms'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'email,status_update,publish_stream'</span>
                <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$user</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">api</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/me'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$photolink</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://graph.facebook.com/'</span><span style="color: #339933;">.</span><span style="color: #000088;">$user</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/picture?type=square'</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$param</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
            <span style="color: #0000ff;">'method'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'users.getInfo'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'uids'</span> <span style="color: #339933;">=&gt;</span> uid<span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'fields'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'pic_big'</span>
        <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$users_getinfo</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">api</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$param</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> catch <span style="color: #009900;">&#40;</span>Exception <span style="color: #000088;">$e</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;"># active session, check if already registered the user
</span>        <span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM users WHERE oauth_provider = 'facebook' AND oauth_uid = &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$user</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
        <span style="color: #666666; font-style: italic;"># If not, add it to the database
</span>        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;INSERT INTO users (oauth_uid, oauth_provider, username, first_name, last_name, email, pic_square) VALUES ('facebook', <span style="color: #006699; font-weight: bold;">{$user['id']}</span>, '<span style="color: #006699; font-weight: bold;">{$user['name']}</span>', '<span style="color: #006699; font-weight: bold;">{$user['first_name']}</span>', '<span style="color: #006699; font-weight: bold;">{$user['last_name']}</span>','<span style="color: #006699; font-weight: bold;">{$user['email']}</span>', '&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$photolink</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;')&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM users WHERE id = &quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">mysql_insert_id</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
        <span style="color: #666666; font-style: italic;">// variables in the session </span>
        <span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$result</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'oauth_uid'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$result</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'oauth_uid'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'oauth_provider'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$result</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'oauth_provider'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'username'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$result</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'username'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;"># if error, kill the script
</span>        <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;There was an error.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000088;">$api_call</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
        <span style="color: #0000ff;">'method'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'users.hasAppPermission'</span><span style="color: #339933;">,</span>
        <span style="color: #0000ff;">'uid'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$uid</span><span style="color: #339933;">,</span>
        <span style="color: #0000ff;">'ext_perm'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'publish_stream'</span>
    <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$can_post</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">api</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$api_call</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$can_post</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;"># post it! 
</span>        <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">api</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$uid</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/feed'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'post'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
            <span style="color: #0000ff;">'message'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Participate in Camry Slogan Contest and Win great prizes!'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'name'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Camry Slogan Contest'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'description'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Participate in Camry Slogan Contest and Win iPhone, iPad, Samsung Galaxy, Canono Digital Camera, Sony Play Station, Blackberry Bold and more prizes.'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'caption'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'WIN prizes by suggesting us a Slogan for our new Toyota Camry!'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'picture'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'http://www.masudonline.net/camry/headar.jpg'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'link'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'http://apps.facebook.com/camryslgn/'</span>
        <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'Posted!'</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Permissions required!'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;"># no active session, generate one
</span>    <span style="color: #000088;">$login_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getLoginUrl</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Location: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$login_url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div><h2> Step 1: You can create MySQL table by following code:</h2><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td
class="code"><pre class="sql" style="font-family:monospace;">&nbsp;
<span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">`users`</span> <span style="color: #66cc66;">&#40;</span>  
    <span style="color: #ff0000;">`oauth_uid`</span> <span style="color: #993333; font-weight: bold;">INT</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">10</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">UNSIGNED</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">AUTO_INCREMENT</span><span style="color: #66cc66;">,</span>  
    <span style="color: #ff0000;">`oauth_provider`</span> <span style="color: #993333; font-weight: bold;">VARCHAR</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">10</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span>  
    <span style="color: #ff0000;">`username`</span> text<span style="color: #66cc66;">,</span>  
    <span style="color: #ff0000;">`first_name`</span> text<span style="color: #66cc66;">,</span>  
    <span style="color: #ff0000;">`last_name`</span> text<span style="color: #66cc66;">,</span>
    <span style="color: #ff0000;">`email`</span> text<span style="color: #66cc66;">,</span>
    <span style="color: #ff0000;">`pic_square`</span> text<span style="color: #66cc66;">,</span>
    <span style="color: #993333; font-weight: bold;">PRIMARY</span> <span style="color: #993333; font-weight: bold;">KEY</span> <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`oauth_uid`</span><span style="color: #66cc66;">&#41;</span>  
<span style="color: #66cc66;">&#41;</span> ENGINE<span style="color: #66cc66;">=</span>MyISAM  <span style="color: #993333; font-weight: bold;">DEFAULT</span> CHARSET<span style="color: #66cc66;">=</span>latin1;</pre></td></tr></table></div><h2> Step 2: Create Facebook session,  Database Connect and Authentication</h2><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>5
6
7
8
9
</pre></td><td
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">session_start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Location: home.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>8
9
</pre></td><td
class="code"><pre class="mysql" style="font-family:monospace;">mysql_connect<span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">'localhost'</span><span style="color: #000033;">,</span> <span style="color: #008000;">'username'</span><span style="color: #000033;">,</span> <span style="color: #008000;">'password'</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
mysql_select_db<span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">'dbname'</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span></pre></td></tr></table></div><h2> Step 3: Add Facebook library and create facebook application object</h2><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>12
13
14
15
16
17
18
19
20
</pre></td><td
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># require library
</span><span style="color: #b1b100;">require</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;facebook.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Creating the facebook object
</span><span style="color: #000088;">$facebook</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Facebook<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
            <span style="color: #0000ff;">'appId'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'164516846996806'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'secret'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'262fbacd9284301641d572e111113921'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'cookie'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">true</span>
        <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><h2> Step 4: get user id (getUser()) and user info (api->(&#8216;/me&#8217;))</h2><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
</pre></td><td
class="code"><pre class="php" style="font-family:monospace;">&nbsp;
    <span style="color: #666666; font-style: italic;"># session active, get user id (getUser()) and user info (api-&gt;('/me'))
</span>    try <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$uid</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getUser</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$fb_access_token</span><span style="color: #339933;">=</span><span style="color: #000088;">$session</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'access_token'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getLoginUrl</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
            <span style="color: #0000ff;">'req_perms'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'email,status_update,publish_stream'</span>
                <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$user</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">api</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/me'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$photolink</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://graph.facebook.com/'</span><span style="color: #339933;">.</span><span style="color: #000088;">$user</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/picture?type=square'</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$param</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
            <span style="color: #0000ff;">'method'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'users.getInfo'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'uids'</span> <span style="color: #339933;">=&gt;</span> uid<span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'fields'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'pic_big'</span>
        <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$users_getinfo</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">api</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$param</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> catch <span style="color: #009900;">&#40;</span>Exception <span style="color: #000088;">$e</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
    <span style="color: #009900;">&#125;</span></pre></td></tr></table></div><h2> Step 4: Check if the user is already registered</h2><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>47
48
49
</pre></td><td
class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM users WHERE oauth_provider = 'facebook' AND oauth_uid = &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$user</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><h2> Step 5: If user has not registered already, add user information to mysql database</h2><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>53
54
55
56
57
58
</pre></td><td
class="code"><pre class="php" style="font-family:monospace;">&nbsp;
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;INSERT INTO users (oauth_provider, oauth_uid, username, first_name, last_name, email, pic_square) VALUES ('facebook', <span style="color: #006699; font-weight: bold;">{$user['id']}</span>, '<span style="color: #006699; font-weight: bold;">{$user['name']}</span>', '<span style="color: #006699; font-weight: bold;">{$user['first_name']}</span>', '<span style="color: #006699; font-weight: bold;">{$user['last_name']}</span>','<span style="color: #006699; font-weight: bold;">{$user['email']}</span>', '&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$photolink</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;')&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM users WHERE id = &quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">mysql_insert_id</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span></pre></td></tr></table></div><h2> Step 6: Stores Varialbles in the Session</h2><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>60
61
62
63
64
</pre></td><td
class="code"><pre class="php" style="font-family:monospace;">&nbsp;
 <span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$result</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'oauth_uid'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$result</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'oauth_uid'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'oauth_provider'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$result</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'oauth_provider'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'username'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$result</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'username'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><h2> Step 7: Publish to facebook Wall if user permission is accepted</h2><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
</pre></td><td
class="code"><pre class="php" style="font-family:monospace;">&nbsp;
    <span style="color: #000088;">$api_call</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
        <span style="color: #0000ff;">'method'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'users.hasAppPermission'</span><span style="color: #339933;">,</span>
        <span style="color: #0000ff;">'uid'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$uid</span><span style="color: #339933;">,</span>
        <span style="color: #0000ff;">'ext_perm'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'publish_stream'</span>
    <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$can_post</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">api</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$api_call</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$can_post</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;"># post it! 
</span>        <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">api</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$uid</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/feed'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'post'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
            <span style="color: #0000ff;">'message'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Participate in Camry Slogan Contest and Win great prizes!'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'name'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Camry Slogan Contest'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'description'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Participate in Camry Slogan Contest and Win iPhone, iPad, Samsung Galaxy, Canono Digital Camera, Sony Play Station, Blackberry Bold and more prizes.'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'caption'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'WIN prizes by suggesting us a Slogan for our new Toyota Camry!'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'picture'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'http://www.masudonline.net/camry/headar.jpg'</span><span style="color: #339933;">,</span>
            <span style="color: #0000ff;">'link'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'http://apps.facebook.com/camryslgn/'</span>
        <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'Posted!'</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Permissions required!'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span></pre></td></tr></table></div>]]></content:encoded> <wfw:commentRss>http://www.skwebdesigner.com/php-script-to-save-facebook-user-information-to-mysql-database/feed/</wfw:commentRss> <slash:comments>23</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 663/734 objects using disk: basic

Served from: www.skwebdesigner.com @ 2012-05-19 16:31:19 -->
