Usually, I use the Apache directive to add the prepend option.

I already tried setting another prepend option in the apache directives, but 
it seems one does not overwite the other. I tried prepending a blank file. 
But that did not work. The other prepend file was prepended.

When you say use ini_set(), do you mean

ini_set("auto_prepend_file", "/a/blank/file.php");

??


>From: "Maxim Maletsky \(PHPBeginner.com\)" <[EMAIL PROTECTED]>
>To: "'Stefen Lars'" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Subject: RE: [PHP] Turning OFF 'auto_prepend_file' on a page by page basis
>Date: Fri, 3 May 2002 15:53:16 +0200
>
>
>.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:[EMAIL PROTECTED]]
>Sent: Friday, May 03, 2002 3:02 PM
>To: [EMAIL PROTECTED]
>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
>
>




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to