Re: shtml includes

From: Date: Tue, 03 Jul 2001 12:24:01 +0000
Subject: Re: shtml includes
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-55976@lists.php.net to get a copy of this message
On Sunday 01 July 2001 13:57, Justin French wrote: > If you grab a decent text editor, and do a search and replace accross > the whole site (decent text editors can do search and replace on a > whole directory or disk), you'll have a once-off chore, rather than > giving the server a constant chore. [...] > so <!-- include file="stuff.txt" --> > becomes <?php include('stuff.php'); ?> > > easy. the bad bit is that you've got to then go and rename each > extension .php instead of .txt, but you are going to have this problem No need to rename them. They're only accessed via include(), so PHP parses them regardless of the filename. -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) ..10001000110101011010101101011110111010113...????

« previous php.general (#55976) next »