Re: [PHP] adding code and beginning and end without includes
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
Re: [PHP] adding code and beginning and end without includes
search in google php +prepend +htaccess http://www.codingforums.com/showthread.php?t=78287 bye bye Claudio 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. Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php