<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/include</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 08 Oct 2008 06:56:39 GMT</pubDate>
<item>
<title>(PHP) simple security for external included files - MMDeveloper</title>
<link>http://snipplr.com/view/8753/simple-security-for-external-included-files/</link>
<description><![CDATA[ <p>For sites that run on dynamic URL's and file includes, here is a simple technique to use to ensure that an 'include' file isn't hit directly via URL and only runs when included.</p> ]]></description>
<pubDate>Wed, 01 Oct 2008 13:32:10 GMT</pubDate>
<guid>http://snipplr.com/view/8753/simple-security-for-external-included-files/</guid>
</item>
<item>
<title>(PHP) Autoloading Objects - luizlopes</title>
<link>http://snipplr.com/view/7091/autoloading-objects/</link>
<description><![CDATA[ <p>http://us.php.net/manual/en/language.oop5.autoload.php#82614</p> ]]></description>
<pubDate>Wed, 02 Jul 2008 13:05:56 GMT</pubDate>
<guid>http://snipplr.com/view/7091/autoloading-objects/</guid>
</item>
<item>
<title>(PHP) Include File Protection .. - skywalker</title>
<link>http://snipplr.com/view/6233/include-file-protection-/</link>
<description><![CDATA[ <p>include file protection...</p> ]]></description>
<pubDate>Thu, 15 May 2008 03:42:59 GMT</pubDate>
<guid>http://snipplr.com/view/6233/include-file-protection-/</guid>
</item>
<item>
<title>(PHP) php index template include - withremote</title>
<link>http://snipplr.com/view/4723/php-index-template-include/</link>
<description><![CDATA[ <p>used as "http://www.somesite.com/index.php?xcr=page.php"
page.php is plugged into the template index.php which hold the shell of a site.</p> ]]></description>
<pubDate>Tue, 22 Jan 2008 10:56:25 GMT</pubDate>
<guid>http://snipplr.com/view/4723/php-index-template-include/</guid>
</item>
<item>
<title>(PHP) using autoload with PEAR - cholmon</title>
<link>http://snipplr.com/view/3638/using-autoload-with-pear/</link>
<description><![CDATA[ <p>__autoload is often used to load class files from a specific user-defined directory.  by simply adding the user-defined directory to the include_path, however, autoload can be used to load user class files as well as PEAR class files.  Assuming the PEAR naming convention is adhered to for the user defined classes.</p> ]]></description>
<pubDate>Wed, 05 Sep 2007 12:47:34 GMT</pubDate>
<guid>http://snipplr.com/view/3638/using-autoload-with-pear/</guid>
</item>
<item>
<title>(PHP) Saving output of include() to a var - Mikker</title>
<link>http://snipplr.com/view/3348/saving-output-of-include-to-a-var/</link>
<description><![CDATA[ <p>I use this instead of file_get_contents() to allow the use of php-tags in the include files.</p> ]]></description>
<pubDate>Mon, 23 Jul 2007 10:47:52 GMT</pubDate>
<guid>http://snipplr.com/view/3348/saving-output-of-include-to-a-var/</guid>
</item>
<item>
<title>(PHP) Get Include Contents - jgeewax</title>
<link>http://snipplr.com/view/2704/get-include-contents/</link>
<description><![CDATA[ <p>This was posted on the PHP website, I use it quite often. You may get a warning as it is an "unsafe" include (include($var)), but it's a risk that needs to be taken.</p> ]]></description>
<pubDate>Wed, 23 May 2007 10:44:54 GMT</pubDate>
<guid>http://snipplr.com/view/2704/get-include-contents/</guid>
</item>
<item>
<title>(PHP) Check for Include Files in PHP - 1man</title>
<link>http://snipplr.com/view/2535/check-for-include-files-in-php/</link>
<description><![CDATA[ <p>Simple way to check see if a file exists and is readable before you include it. Stops nasty error messages onscreen.</p> ]]></description>
<pubDate>Wed, 25 Apr 2007 14:47:17 GMT</pubDate>
<guid>http://snipplr.com/view/2535/check-for-include-files-in-php/</guid>
</item>
<item>
<title>(PHP) Simple PHP Navigation - 1man</title>
<link>http://snipplr.com/view/2532/simple-php-navigation/</link>
<description><![CDATA[ <p>Very simple navigation. Style the id using CSS. Allows you to highlight the current page with CSS.</p> ]]></description>
<pubDate>Wed, 25 Apr 2007 08:59:27 GMT</pubDate>
<guid>http://snipplr.com/view/2532/simple-php-navigation/</guid>
</item>
<item>
<title>(PHP) Test if a PHP File Is Being Included - tylerhall</title>
<link>http://snipplr.com/view/2454/test-if-a-php-file-is-being-included/</link>
<description><![CDATA[ <p>This tests to see if the current file is being included or run directly. It's useful to add to the top of your include files to stop malicious users from accessing them directly in the browser.</p> ]]></description>
<pubDate>Wed, 11 Apr 2007 12:37:33 GMT</pubDate>
<guid>http://snipplr.com/view/2454/test-if-a-php-file-is-being-included/</guid>
</item>
<item>
<title>(PHP) php absolute path include - dmarten</title>
<link>http://snipplr.com/view/2376/php-absolute-path-include/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 22 Mar 2007 12:24:52 GMT</pubDate>
<guid>http://snipplr.com/view/2376/php-absolute-path-include/</guid>
</item>
<item>
<title>(PHP) Afficher les fichiers include - olive</title>
<link>http://snipplr.com/view/1071/afficher-les-fichiers-include/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 14 Sep 2006 05:02:07 GMT</pubDate>
<guid>http://snipplr.com/view/1071/afficher-les-fichiers-include/</guid>
</item>
<item>
<title>(PHP) php include - trickychicken</title>
<link>http://snipplr.com/view/524/php-include/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 20 Jul 2006 09:52:44 GMT</pubDate>
<guid>http://snipplr.com/view/524/php-include/</guid>
</item>
</channel>
</rss>