<?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 and ASP Includes</title>
	<atom:link href="http://www.chickenbeak.com/php/php-and-asp-includes/2006/11/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chickenbeak.com/php/php-and-asp-includes/2006/11/</link>
	<description>Design tutorials for the greater good.</description>
	<pubDate>Thu, 09 Sep 2010 02:27:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: chris</title>
		<link>http://www.chickenbeak.com/php/php-and-asp-includes/2006/11/comment-page-1/#comment-8</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Mon, 20 Nov 2006 21:36:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.chickenbeak.com/php/php-and-asp-includes/2006/11/#comment-8</guid>
		<description>I just wanted to point out the big difference between php and asp includes (because I don't think I can find a better spot for this snippit of info.)

In php, you can assign a dynamic variable as the target of the include function. For example...
&lt;?
$fileName = "header_public.inc";
include(fileName);
?&gt;

In asp however, since includes are not within the asp tags (  &lt;% and %&gt;  ), the following would NOT work...
&lt;%
fileName = "header_logged.inc"
%&gt;
&lt;!--include file=fileName--&gt;

You have a lot less flexability when using asp includes, but they stil serve their purpose.</description>
		<content:encoded><![CDATA[<p>I just wanted to point out the big difference between php and asp includes (because I don&#8217;t think I can find a better spot for this snippit of info.)</p>
<p>In php, you can assign a dynamic variable as the target of the include function. For example&#8230;<br />
< ?<br />
$fileName = "header_public.inc";<br />
include(fileName);<br />
?></p>
<p>In asp however, since includes are not within the asp tags (  < % and %>  ), the following would NOT work&#8230;<br />
< %<br />
fileName = "header_logged.inc"<br />
%><br />
<!--include file=fileName--></p>
<p>You have a lot less flexability when using asp includes, but they stil serve their purpose.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
