RE: [PHP] Turning OFF 'auto_prepend_file' on a page by page basis

From: Date: Fri, 03 May 2002 13:53:16 +0000
Subject: RE: [PHP] Turning OFF 'auto_prepend_file' on a page by page basis
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95891@lists.php.net to get a copy of this message
.htaccess Not sure if ini_set() will work in your case. But try. Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -----Original Message----- From: Stefen Lars [mailto:stefenlars@hotmail.com] Sent: Friday, May 03, 2002 3:02 PM To: php-general@lists.php.net Subject: [PHP] Turning OFF 'auto_prepend_file' on a page by page basis Hello all I am using 'auto_prepend_file' to include a load of files. This is prepended to all PHP parsed files. The prepend files contain the HTML for the framework of my site. How I want to create an XML file for other web sites to use. I do this by getting some data from a database and packaging it as RSS. Correctly, PHP appends my prepend file HTML on top of the XML. I do not want that, as it produced invalid XML. :-(( Is there a way to say, for example: Prepend this file to all files, but NOT this one? i.e. is it possible to 'turn off' the prepend functionality on a page by page basis?? Thanks for your comments S. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#95891) next »