blackwater dev wrote:
Is there a way to intercept and add code at the beginning and end of every http request - WITHOUT having to put an include at the top and bottom of every page? This is something we need to be app specific so don't really want to do it globally like chanse the php.ini or something.
stick this: php_value auto_prepend_file '/path/to/prepend.inc' php_value auto_append_file '/path/to/append.inc' in /path/to/your/app/specific/stuff/.htaccess
Thanks!
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php