<?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: PHP Include Tutorial</title>
	<atom:link href="http://www.learnphponline.com/php-basics/php-include-tutorial/feed" rel="self" type="application/rss+xml" />
	<link>http://www.learnphponline.com/php-basics/php-include-tutorial</link>
	<description>Learn PHP Online</description>
	<lastBuildDate>Fri, 03 Sep 2010 17:39:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Joe Khan</title>
		<link>http://www.learnphponline.com/php-basics/php-include-tutorial/comment-page-1#comment-2626</link>
		<dc:creator>Joe Khan</dc:creator>
		<pubDate>Fri, 16 Jul 2010 09:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=26#comment-2626</guid>
		<description>Instead of getting confused with all the ../ you should use:
include $_SERVER[&#039;document_root&#039;].&#039;/includes/header.php&#039;;

this is return can be used on any file in any directory without the need of editing.</description>
		<content:encoded><![CDATA[<p>Instead of getting confused with all the ../ you should use:<br />
include $_SERVER['document_root'].&#8217;/includes/header.php&#8217;;</p>
<p>this is return can be used on any file in any directory without the need of editing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mell</title>
		<link>http://www.learnphponline.com/php-basics/php-include-tutorial/comment-page-1#comment-2111</link>
		<dc:creator>Mell</dc:creator>
		<pubDate>Fri, 21 May 2010 06:08:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=26#comment-2111</guid>
		<description>Hi,

I have created a menu using html with css style sheets and it&#039;s basically a rolll over menu. I have saved it as menu.php
I created another page and added content to itt and wanted to bring the menu into. This page is index.php 
The problem is that I am using eactly what the tutorial says but it&#039;s not working for some reason. Any ideas on how to fix it??</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have created a menu using html with css style sheets and it&#8217;s basically a rolll over menu. I have saved it as menu.php<br />
I created another page and added content to itt and wanted to bring the menu into. This page is index.php<br />
The problem is that I am using eactly what the tutorial says but it&#8217;s not working for some reason. Any ideas on how to fix it??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Al</title>
		<link>http://www.learnphponline.com/php-basics/php-include-tutorial/comment-page-1#comment-2107</link>
		<dc:creator>Al</dc:creator>
		<pubDate>Thu, 20 May 2010 19:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=26#comment-2107</guid>
		<description>I am working with a Dreamweaver php page trying to include a state specific file on a generic state page. 
Based on the State abbreviation I want it to include the state file with the state data. 
$row_getResorts[&#039;state&#039;] is where the state abbrevaitions are in the database.
So for example Alabama&#039;s data would be AL.php

1.

Warning: include(.php) [function.include]: failed to open stream: No such file or directory in etc
2.

Warning: include(.php) [function.include]: failed to open stream: No such file or directory in etc
3.

Parse error: syntax error, unexpected T_ECHO in etc
4.

Parse error: syntax error, unexpected T_ECHO in etc
5.

Parse error: syntax error, unexpected T_ECHO in etc


6.

Fatal error: Call to undefined function file_exsists() 

This should be so easy. What am I doing wrong so I can get anyon eof these to work?
Thanks, AL</description>
		<content:encoded><![CDATA[<p>I am working with a Dreamweaver php page trying to include a state specific file on a generic state page.<br />
Based on the State abbreviation I want it to include the state file with the state data.<br />
$row_getResorts['state'] is where the state abbrevaitions are in the database.<br />
So for example Alabama&#8217;s data would be AL.php</p>
<p>1.</p>
<p>Warning: include(.php) [function.include]: failed to open stream: No such file or directory in etc<br />
2.</p>
<p>Warning: include(.php) [function.include]: failed to open stream: No such file or directory in etc<br />
3.</p>
<p>Parse error: syntax error, unexpected T_ECHO in etc<br />
4.</p>
<p>Parse error: syntax error, unexpected T_ECHO in etc<br />
5.</p>
<p>Parse error: syntax error, unexpected T_ECHO in etc</p>
<p>6.</p>
<p>Fatal error: Call to undefined function file_exsists() </p>
<p>This should be so easy. What am I doing wrong so I can get anyon eof these to work?<br />
Thanks, AL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: @Arch</title>
		<link>http://www.learnphponline.com/php-basics/php-include-tutorial/comment-page-1#comment-1622</link>
		<dc:creator>@Arch</dc:creator>
		<pubDate>Tue, 16 Feb 2010 18:20:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=26#comment-1622</guid>
		<description>Yes, ../ is for a unix user. Try ..\\ if you feel more comfortable with DOS/Windows.</description>
		<content:encoded><![CDATA[<p>Yes, ../ is for a unix user. Try ..\\ if you feel more comfortable with DOS/Windows.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.learnphponline.com/php-basics/php-include-tutorial/comment-page-1#comment-1425</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Wed, 13 Jan 2010 12:48:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=26#comment-1425</guid>
		<description>I am not getting any good results for the &quot;include&quot; PHP code here and I can&#039;t figure it out.

This is the PHP code I put into my index.php page: 

I made the two PHP pages in Notepad exactly as it is above and opened it straight in my browser and the links do not show at all.

For something apparently so simple, I am spending way too much time on learning PHP. 

I also, after a lot of research, downloaded XAMPP, but I haven&#039;t touched it yet because for an absolute beginner with PHP, it is basically learning Japanese.</description>
		<content:encoded><![CDATA[<p>I am not getting any good results for the &#8220;include&#8221; PHP code here and I can&#8217;t figure it out.</p>
<p>This is the PHP code I put into my index.php page: </p>
<p>I made the two PHP pages in Notepad exactly as it is above and opened it straight in my browser and the links do not show at all.</p>
<p>For something apparently so simple, I am spending way too much time on learning PHP. </p>
<p>I also, after a lot of research, downloaded XAMPP, but I haven&#8217;t touched it yet because for an absolute beginner with PHP, it is basically learning Japanese.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.learnphponline.com/php-basics/php-include-tutorial/comment-page-1#comment-1016</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Thu, 12 Nov 2009 00:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=26#comment-1016</guid>
		<description>
A Basic PHP Website Using Include



include(&quot;header.php&quot;); ?&gt;



Welcome to our website! The links above are being used in includes- saving us time that can be best used for developing better features for this website.



</description>
		<content:encoded><![CDATA[<p>A Basic PHP Website Using Include</p>
<p>include(&#8220;header.php&#8221;); ?&gt;</p>
<p>Welcome to our website! The links above are being used in includes- saving us time that can be best used for developing better features for this website.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MileHighTechGuy</title>
		<link>http://www.learnphponline.com/php-basics/php-include-tutorial/comment-page-1#comment-644</link>
		<dc:creator>MileHighTechGuy</dc:creator>
		<pubDate>Wed, 08 Jul 2009 20:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=26#comment-644</guid>
		<description>Thanks for pointing out the security issues. That&#039;s something I hadn&#039;t really thought through before.</description>
		<content:encoded><![CDATA[<p>Thanks for pointing out the security issues. That&#8217;s something I hadn&#8217;t really thought through before.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arch</title>
		<link>http://www.learnphponline.com/php-basics/php-include-tutorial/comment-page-1#comment-619</link>
		<dc:creator>arch</dc:creator>
		<pubDate>Sat, 27 Jun 2009 22:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=26#comment-619</guid>
		<description>after look for about 20 min for how to include files in other directories, finally found the answer on your page. Thanks for taking the time.

it would also make sense to make inclusion paths be the written directory path/location of the file, but i guess &#039;../&#039; works too... if you&#039;re a unix user.</description>
		<content:encoded><![CDATA[<p>after look for about 20 min for how to include files in other directories, finally found the answer on your page. Thanks for taking the time.</p>
<p>it would also make sense to make inclusion paths be the written directory path/location of the file, but i guess &#8216;../&#8217; works too&#8230; if you&#8217;re a unix user.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
