<?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: Using the PHP Include Function to Template Faster</title>
	<atom:link href="http://buildinternet.com/2009/12/using-the-php-include-function-to-template-faster/feed/" rel="self" type="application/rss+xml" />
	<link>http://buildinternet.com/2009/12/using-the-php-include-function-to-template-faster/</link>
	<description>Web Design, Development, and Business</description>
	<lastBuildDate>Wed, 08 Feb 2012 22:59:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rafee</title>
		<link>http://buildinternet.com/2009/12/using-the-php-include-function-to-template-faster/comment-page-1/#comment-32243</link>
		<dc:creator>Rafee</dc:creator>
		<pubDate>Sat, 03 Dec 2011 11:59:20 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=7648#comment-32243</guid>
		<description>I have a directory called images and about and 3 php file on home directory and 3 files and have different content

footer.php
_____________________________________

This is footer 
header.php

 Welcome to MyWebsite


index.php
______________________________________


Enter your name : and some forms and javascript code

Now i have file in directory about as about.php

and it has some contents and below code is

about.php
___________________________________________


This is About page

And when i open the page about.php, the footer is working fine but the image is not showing up, and image directory has image as logo.png

Even i used realpath to work out with relative paths, but could not display. Even i tried this one too in footer.php

 

This is footer &lt;img src=&quot;&quot;&gt;
I tried out the possibilites of relatives paths, do we have any other thing.</description>
		<content:encoded><![CDATA[<p>I have a directory called images and about and 3 php file on home directory and 3 files and have different content</p>
<p>footer.php<br />
_____________________________________</p>
<p>This is footer<br />
header.php</p>
<p> Welcome to MyWebsite</p>
<p>index.php<br />
______________________________________</p>
<p>Enter your name : and some forms and javascript code</p>
<p>Now i have file in directory about as about.php</p>
<p>and it has some contents and below code is</p>
<p>about.php<br />
___________________________________________</p>
<p>This is About page</p>
<p>And when i open the page about.php, the footer is working fine but the image is not showing up, and image directory has image as logo.png</p>
<p>Even i used realpath to work out with relative paths, but could not display. Even i tried this one too in footer.php</p>
<p>This is footer &lt;img src=&quot;&#8221;&gt;<br />
I tried out the possibilites of relatives paths, do we have any other thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VLZVL</title>
		<link>http://buildinternet.com/2009/12/using-the-php-include-function-to-template-faster/comment-page-1/#comment-32171</link>
		<dc:creator>VLZVL</dc:creator>
		<pubDate>Sun, 27 Nov 2011 22:00:41 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=7648#comment-32171</guid>
		<description>A nice way to explain this known method.
Im doing somewhat similar in templating my cms but using an array
instead of scattered $vars.
For example, instead of having a $current_page i prefer to have
a $vars[&quot;currentpage&quot;]. Whats the gain?
1) User knows that all he can use exists in $vars
2) He can see all available vars by calling print_r($vars)
3) A value in this array can have its own &#039;childs&#039;, for example blog entries,
eliminating the needs for same-topic $variables</description>
		<content:encoded><![CDATA[<p>A nice way to explain this known method.<br />
Im doing somewhat similar in templating my cms but using an array<br />
instead of scattered $vars.<br />
For example, instead of having a $current_page i prefer to have<br />
a $vars["currentpage"]. Whats the gain?<br />
1) User knows that all he can use exists in $vars<br />
2) He can see all available vars by calling print_r($vars)<br />
3) A value in this array can have its own &#8216;childs&#8217;, for example blog entries,<br />
eliminating the needs for same-topic $variables</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaypee Huda</title>
		<link>http://buildinternet.com/2009/12/using-the-php-include-function-to-template-faster/comment-page-1/#comment-31350</link>
		<dc:creator>Jaypee Huda</dc:creator>
		<pubDate>Fri, 30 Sep 2011 15:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=7648#comment-31350</guid>
		<description>Hello Guys,
Server Side Includes (SSI) is an efficient way through which we can insert all content of one PHP file to another PHP file before the server executes it, with include() or require() function.

The two functions are identical in every way, except how they handle errors:

·    include() generates a warning, but the script will continue execution

·    require() generates a fatal error, and the script will stop

for more details please check out the following link.......................

http://mindstick.com/Articles/84636594-7f15-4330-a975-b1040aea56e0/?Include%20and%20Require%20function%20in%20PHP

Thanks !!!!!!</description>
		<content:encoded><![CDATA[<p>Hello Guys,<br />
Server Side Includes (SSI) is an efficient way through which we can insert all content of one PHP file to another PHP file before the server executes it, with include() or require() function.</p>
<p>The two functions are identical in every way, except how they handle errors:</p>
<p>·    include() generates a warning, but the script will continue execution</p>
<p>·    require() generates a fatal error, and the script will stop</p>
<p>for more details please check out the following link&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..</p>
<p><a href="http://mindstick.com/Articles/84636594-7f15-4330-a975-b1040aea56e0/?Include%20and%20Require%20function%20in%20PHP" rel="nofollow">http://mindstick.com/Articles/84636594-7f15-4330-a975-b1040aea56e0/?Include%20and%20Require%20function%20in%20PHP</a></p>
<p>Thanks !!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: YIPES!</title>
		<link>http://buildinternet.com/2009/12/using-the-php-include-function-to-template-faster/comment-page-1/#comment-30125</link>
		<dc:creator>YIPES!</dc:creator>
		<pubDate>Sat, 23 Jul 2011 19:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=7648#comment-30125</guid>
		<description>The files that I downloaded were encrypted (they were green file names when I unzipped the file) on my Windoze 7 machine. I had a devil of a time figuring this out. After a couple days of trying to figure this out I eventually just rebuilt all of the code into different file names and it worked on my local machine. I thought it might be my Apache server with PHP installed so I went through the php.ini and no luck. Then I typed in &quot;green file names&quot; into GOOGLE and found out that the files were encrypted&quot; So, I right clicked on all of the files and directories, choose properties and under the &quot;General Tab  &gt; Advanced&quot; and unchecked &quot;Encrypt contents to secure data&quot;. I had to do this with each folder and the file. Finally this worked and I could see the files in my browser. Before I was getting PHP permission errors. Hope this helps anyone who is downloading the files to this tutorial and has the same issues. GREAT tutorial though and I will use it a LOT!</description>
		<content:encoded><![CDATA[<p>The files that I downloaded were encrypted (they were green file names when I unzipped the file) on my Windoze 7 machine. I had a devil of a time figuring this out. After a couple days of trying to figure this out I eventually just rebuilt all of the code into different file names and it worked on my local machine. I thought it might be my Apache server with PHP installed so I went through the php.ini and no luck. Then I typed in &#8220;green file names&#8221; into GOOGLE and found out that the files were encrypted&#8221; So, I right clicked on all of the files and directories, choose properties and under the &#8220;General Tab  &gt; Advanced&#8221; and unchecked &#8220;Encrypt contents to secure data&#8221;. I had to do this with each folder and the file. Finally this worked and I could see the files in my browser. Before I was getting PHP permission errors. Hope this helps anyone who is downloading the files to this tutorial and has the same issues. GREAT tutorial though and I will use it a LOT!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Margaret</title>
		<link>http://buildinternet.com/2009/12/using-the-php-include-function-to-template-faster/comment-page-1/#comment-29333</link>
		<dc:creator>Margaret</dc:creator>
		<pubDate>Fri, 17 Jun 2011 04:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=7648#comment-29333</guid>
		<description>Thank you for the terrific demo. Does anyone know the best way to use php to add the unique keywords and description for each page?</description>
		<content:encoded><![CDATA[<p>Thank you for the terrific demo. Does anyone know the best way to use php to add the unique keywords and description for each page?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett Widmann</title>
		<link>http://buildinternet.com/2009/12/using-the-php-include-function-to-template-faster/comment-page-1/#comment-28622</link>
		<dc:creator>Brett Widmann</dc:creator>
		<pubDate>Sun, 24 Apr 2011 13:00:25 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=7648#comment-28622</guid>
		<description>This was really helpful! It should really come in handy.</description>
		<content:encoded><![CDATA[<p>This was really helpful! It should really come in handy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: e11world</title>
		<link>http://buildinternet.com/2009/12/using-the-php-include-function-to-template-faster/comment-page-1/#comment-28448</link>
		<dc:creator>e11world</dc:creator>
		<pubDate>Tue, 12 Apr 2011 07:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=7648#comment-28448</guid>
		<description>I like the dynamic title part the most!</description>
		<content:encoded><![CDATA[<p>I like the dynamic title part the most!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: komiska</title>
		<link>http://buildinternet.com/2009/12/using-the-php-include-function-to-template-faster/comment-page-1/#comment-27860</link>
		<dc:creator>komiska</dc:creator>
		<pubDate>Thu, 17 Mar 2011 19:08:01 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=7648#comment-27860</guid>
		<description>thankyouthankyouthankyou</description>
		<content:encoded><![CDATA[<p>thankyouthankyouthankyou</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: age spots cream for the neck</title>
		<link>http://buildinternet.com/2009/12/using-the-php-include-function-to-template-faster/comment-page-1/#comment-26526</link>
		<dc:creator>age spots cream for the neck</dc:creator>
		<pubDate>Wed, 19 Jan 2011 15:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=7648#comment-26526</guid>
		<description>I like the precious knowledge you offer on your articles. I will be able to bookmark your weblog and have my children take a look at up here generally. I am fairly certain they&#039;re going to be told quite a lot of new stuff right here than anyone else!</description>
		<content:encoded><![CDATA[<p>I like the precious knowledge you offer on your articles. I will be able to bookmark your weblog and have my children take a look at up here generally. I am fairly certain they&#8217;re going to be told quite a lot of new stuff right here than anyone else!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robertocr</title>
		<link>http://buildinternet.com/2009/12/using-the-php-include-function-to-template-faster/comment-page-1/#comment-21846</link>
		<dc:creator>robertocr</dc:creator>
		<pubDate>Sun, 05 Dec 2010 20:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://buildinternet.com/?p=7648#comment-21846</guid>
		<description>Exactly the same here!

For the home page, for example, I keep an index.php with lots of instructions (what page is gonna be inside the center div, if I should load extra files) and include a template.php which is gonna take care of it all.
It&#039;s not the only way to do it, but my favorite when I&#039;m the only coder who has to do some pre-defined set of pages with a clear structure.
When there&#039;s the need for a huge multi-page portal with lots of specific things on each page, I think php frameworks might be a much better way to work in a team.</description>
		<content:encoded><![CDATA[<p>Exactly the same here!</p>
<p>For the home page, for example, I keep an index.php with lots of instructions (what page is gonna be inside the center div, if I should load extra files) and include a template.php which is gonna take care of it all.<br />
It&#8217;s not the only way to do it, but my favorite when I&#8217;m the only coder who has to do some pre-defined set of pages with a clear structure.<br />
When there&#8217;s the need for a huge multi-page portal with lots of specific things on each page, I think php frameworks might be a much better way to work in a team.</p>
]]></content:encoded>
	</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 memcached
Object Caching 366/369 objects using disk: basic

Served from: buildinternet.com @ 2012-02-08 21:34:26 -->
