php_auto_append help?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Li0rE
Forum Commoner
Posts: 41
Joined: Wed Jun 07, 2006 6:26 am

php_auto_append help?

Post by Li0rE »

Hey guys.

If anyone is familiar with the php_auto_append configuration variable, I'd like to find a way to use it to append a file to the end of every php script executed on my host.

Unfortunately, scripts that have the exit; command anywhere in them will not continue executing and include the append file.

Is there any way to get around this (besides Apache mod_layout, which unfortunately corrupts php scripts too much to be usable), so even scripts that have an exit in them will still execute the file at the end and append it?

Thanks a lot.
Post Reply