Posted by Schraalhans Keukenmeester on 05/12/07 14:48
I am considering using the php 'auto_prepend_file' directive to have a
few default things loaded and some superglobals unset for all customers
using my server. The intended file does not produce any output to the
browser, just sets a few variables, modifies/unsets a few server &
environment variables, defines a few constants and loads a custom ftp
class definition.
It seems temptingly easy to do so, but I would like to have some insight
in what can of worms I may be opening going this route. Are there strong
arguments pro/against using this feature? Some great examples perhaps?
Thanks for your advice in advance!
Sh.
[Back to original message]
|