<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: The Benefit of Using PHP Include Function in Optimizing Your WordPress Blog Theme</title>
	<atom:link href="http://www.smallwebsitehost.com/the-benefit-of-using-php-include-function-in-optimizing-your-wordpress-blog-theme/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smallwebsitehost.com/the-benefit-of-using-php-include-function-in-optimizing-your-wordpress-blog-theme/wordpress/</link>
	<description>Small Hosting, Wordpress, Website development, SEO, and adsense news</description>
	<lastBuildDate>Mon, 03 Jan 2011 14:09:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Codex@PHP Developer Blog</title>
		<link>http://www.smallwebsitehost.com/the-benefit-of-using-php-include-function-in-optimizing-your-wordpress-blog-theme/wordpress/comment-page-1/#comment-6681</link>
		<dc:creator>Codex@PHP Developer Blog</dc:creator>
		<pubDate>Thu, 25 Mar 2010 04:37:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.smallwebsitehost.com/?p=700#comment-6681</guid>
		<description>This function will surely save a lot of time in the PHP Development and updating of files. For example, say you have a lot of PHP scripts in your server that uses the connection string to MySQL database. Without the include function, you will have to put the lines of the PHP connection string to MySQL database in every PHP scripts; this might seem OK but what if you will change your database password? This means you will have to edit each of those files and edit the password. This looks very tedious and inefficient.

Instead, what I will do is use include function, for example I place my PHP connection string to MySQL separately in a file called &quot;connect.php&quot; , so in every PHP script instead of putting MySQL connection string, I use the include function pointing to connect.php:

include &#039;connect.php&#039;;

Then its done. If I update my MySQL password, I won&#039;t have to open each of those files in the server, instead I will only edit connect.php and will automatically be used by all files with the include function in it.</description>
		<content:encoded><![CDATA[<p>This function will surely save a lot of time in the PHP Development and updating of files. For example, say you have a lot of PHP scripts in your server that uses the connection string to MySQL database. Without the include function, you will have to put the lines of the PHP connection string to MySQL database in every PHP scripts; this might seem OK but what if you will change your database password? This means you will have to edit each of those files and edit the password. This looks very tedious and inefficient.</p>
<p>Instead, what I will do is use include function, for example I place my PHP connection string to MySQL separately in a file called &#8220;connect.php&#8221; , so in every PHP script instead of putting MySQL connection string, I use the include function pointing to connect.php:</p>
<p>include &#8216;connect.php&#8217;;</p>
<p>Then its done. If I update my MySQL password, I won&#8217;t have to open each of those files in the server, instead I will only edit connect.php and will automatically be used by all files with the include function in it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn van Turnhout@Webdesign Roosendaal</title>
		<link>http://www.smallwebsitehost.com/the-benefit-of-using-php-include-function-in-optimizing-your-wordpress-blog-theme/wordpress/comment-page-1/#comment-6599</link>
		<dc:creator>Martijn van Turnhout@Webdesign Roosendaal</dc:creator>
		<pubDate>Sun, 28 Feb 2010 15:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.smallwebsitehost.com/?p=700#comment-6599</guid>
		<description>Nice post! What&#039;s your opinion about Smarty though? I think it&#039;&#039;d perfectly suit WordPress: more understandable code and easier to implement. I build websites using CMS Made Simple and WordPress and I often go back to Smarty instead of PHP.</description>
		<content:encoded><![CDATA[<p>Nice post! What&#8217;s your opinion about Smarty though? I think it&#8221;d perfectly suit WordPress: more understandable code and easier to implement. I build websites using CMS Made Simple and WordPress and I often go back to Smarty instead of PHP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashley</title>
		<link>http://www.smallwebsitehost.com/the-benefit-of-using-php-include-function-in-optimizing-your-wordpress-blog-theme/wordpress/comment-page-1/#comment-6355</link>
		<dc:creator>Ashley</dc:creator>
		<pubDate>Mon, 25 Jan 2010 12:51:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.smallwebsitehost.com/?p=700#comment-6355</guid>
		<description>Nice post.. I have learn more from your post..
I need some more tips to improve my knowledge..
Please some more tips..</description>
		<content:encoded><![CDATA[<p>Nice post.. I have learn more from your post..<br />
I need some more tips to improve my knowledge..<br />
Please some more tips..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kazoo banner stands</title>
		<link>http://www.smallwebsitehost.com/the-benefit-of-using-php-include-function-in-optimizing-your-wordpress-blog-theme/wordpress/comment-page-1/#comment-6203</link>
		<dc:creator>kazoo banner stands</dc:creator>
		<pubDate>Sun, 10 Jan 2010 21:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.smallwebsitehost.com/?p=700#comment-6203</guid>
		<description>the include function is great - makes life so much easier when editing wordpress functions - i also use this function alot in web development - normally split my html into header, main, footer and include those elements within the code - its great - saves alot of time if a menu item needs adding</description>
		<content:encoded><![CDATA[<p>the include function is great &#8211; makes life so much easier when editing wordpress functions &#8211; i also use this function alot in web development &#8211; normally split my html into header, main, footer and include those elements within the code &#8211; its great &#8211; saves alot of time if a menu item needs adding</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chakkravarthi@seo your blog</title>
		<link>http://www.smallwebsitehost.com/the-benefit-of-using-php-include-function-in-optimizing-your-wordpress-blog-theme/wordpress/comment-page-1/#comment-5907</link>
		<dc:creator>chakkravarthi@seo your blog</dc:creator>
		<pubDate>Tue, 15 Dec 2009 03:51:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.smallwebsitehost.com/?p=700#comment-5907</guid>
		<description>Wow that makes my job a lot easier.. you can embed anything anywhere by using this method I think. you won&#039;t ever need to install some plugins for simple tasks. 

Thank you for pointing out this.</description>
		<content:encoded><![CDATA[<p>Wow that makes my job a lot easier.. you can embed anything anywhere by using this method I think. you won&#8217;t ever need to install some plugins for simple tasks. </p>
<p>Thank you for pointing out this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.smallwebsitehost.com/the-benefit-of-using-php-include-function-in-optimizing-your-wordpress-blog-theme/wordpress/comment-page-1/#comment-4361</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 14 Sep 2009 03:15:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.smallwebsitehost.com/?p=700#comment-4361</guid>
		<description>PHP include saves time in code editing - Having a number of forums like you do will emphasise the need for the includes... :)</description>
		<content:encoded><![CDATA[<p>PHP include saves time in code editing &#8211; Having a number of forums like you do will emphasise the need for the includes&#8230; <img src='http://www.smallwebsitehost.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vBulletin FAQ</title>
		<link>http://www.smallwebsitehost.com/the-benefit-of-using-php-include-function-in-optimizing-your-wordpress-blog-theme/wordpress/comment-page-1/#comment-4231</link>
		<dc:creator>vBulletin FAQ</dc:creator>
		<pubDate>Thu, 03 Sep 2009 17:38:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.smallwebsitehost.com/?p=700#comment-4231</guid>
		<description>I use the php include alot actually. I own a number of vBulletin forums and the software is built on php. Good post.</description>
		<content:encoded><![CDATA[<p>I use the php include alot actually. I own a number of vBulletin forums and the software is built on php. Good post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Semi@Zeichnung Doodle Community</title>
		<link>http://www.smallwebsitehost.com/the-benefit-of-using-php-include-function-in-optimizing-your-wordpress-blog-theme/wordpress/comment-page-1/#comment-3790</link>
		<dc:creator>Semi@Zeichnung Doodle Community</dc:creator>
		<pubDate>Sun, 26 Jul 2009 19:26:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.smallwebsitehost.com/?p=700#comment-3790</guid>
		<description>@Alloy it works for me just fine. maybe describe your problem?</description>
		<content:encoded><![CDATA[<p>@Alloy it works for me just fine. maybe describe your problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bethany@makeup artist in san antonio</title>
		<link>http://www.smallwebsitehost.com/the-benefit-of-using-php-include-function-in-optimizing-your-wordpress-blog-theme/wordpress/comment-page-1/#comment-3575</link>
		<dc:creator>bethany@makeup artist in san antonio</dc:creator>
		<pubDate>Wed, 01 Jul 2009 21:28:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.smallwebsitehost.com/?p=700#comment-3575</guid>
		<description>I&#039;ve used the custom include function in WordPress, but I didn&#039;t know you could check the errors in your PHP files instead of your WordPress theme files!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve used the custom include function in WordPress, but I didn&#8217;t know you could check the errors in your PHP files instead of your WordPress theme files!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.smallwebsitehost.com/the-benefit-of-using-php-include-function-in-optimizing-your-wordpress-blog-theme/wordpress/comment-page-1/#comment-3542</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 29 Jun 2009 10:00:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.smallwebsitehost.com/?p=700#comment-3542</guid>
		<description>Hi,

PHP is excellent because many CMS, including Joomla! and Wordpress, and other scripts based on it.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>PHP is excellent because many CMS, including Joomla! and WordPress, and other scripts based on it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

