<?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>PHP Tutorials Code Snippets and Php Tips &#187; php include</title>
	<atom:link href="http://readytousesolutions.com/phpblog/tag/php-include/feed/" rel="self" type="application/rss+xml" />
	<link>http://readytousesolutions.com/phpblog</link>
	<description>PHP tutorials - Examples of the most useful scripts</description>
	<lastBuildDate>Thu, 23 Sep 2010 06:54:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PHP Tutorial : Including files with require/include</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-including-files-with-requireinclude/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-including-files-with-requireinclude/#comments</comments>
		<pubDate>Sat, 27 Dec 2008 19:45:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[external file]]></category>
		<category><![CDATA[external file inclusion]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[file inclusion]]></category>
		<category><![CDATA[include]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php file]]></category>
		<category><![CDATA[php file inclusion]]></category>
		<category><![CDATA[php include]]></category>
		<category><![CDATA[php inclusion]]></category>
		<category><![CDATA[php remote]]></category>
		<category><![CDATA[remote file]]></category>
		<category><![CDATA[remote file inclusion]]></category>
		<category><![CDATA[require_once]]></category>

		<guid isPermaLink="false">http://www.crivionweb.com/phpblog/?p=61</guid>
		<description><![CDATA[Welcome, I&#8217;ve just created a brand new category here name basic php and I got my chance to explain you guys how you may include external php files into another ones. There are ways and ways but I will explain &#8230; <a href="http://readytousesolutions.com/phpblog/php-tutorial-including-files-with-requireinclude/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Welcome,</p>
<p>I&#8217;ve just created a brand new category here name basic php and I got my chance to explain you guys how you may include external php files into another ones. There are ways and ways but I will explain only two of them, the most popular ones. The first one, is called include() a php function which you may use it for simple things. I wouldn&#8217;t use it for a database connection, for that, exists the require_once() function. The difference between those two php functions is that include() function will give you a warning if the remote include file doesn&#8217;t exists. On the other side , the require_once() php function will stop parsing the script if the remote file wont be finded.</p>
<p>The usage is very basic like that</p>
<pre class="php">
<span class="phpScriptTag"><span class="phpOperator">&lt;</span><span class="phpOperator">?</span>php</span>
<span class="phpKeyword"><span class="phpKeyword">
include<span class="phpOperator">(</span></span></span><span class="phpString">'filename.php'</span><span class="phpOperator">)</span><span class="phpText">;</span>
<span class="phpComment">//or
</span>
<span class="phpKeyword">
require_once<span class="phpOperator">(</span></span><span class="phpString">'mydb<span class="phpOperator">.</span>php'</span><span class="phpOperator">)</span><span class="phpText">;</span>
<span class="phpScriptTag"><span class="phpOperator">?</span><span class="phpOperator">&gt;</span></span>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-including-files-with-requireinclude/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

