Re: [PHP] execute my php code before every php call

2011-06-12 Thread Stuart Dallas
On 12 Jun 2011, at 19:46, "techloop" wrote: > Hi all, > > I have a simple code that override some env vars but i need it to run before > any other php code on every php execution. > I would like to avoid any change of all php code (even if its only to > include the include command). > > Any o

Re: [PHP] execute my php code before every php call

2011-06-12 Thread Tamara Temple
On Jun 12, 2011, at 1:46 PM, techloop wrote: I have a simple code that override some env vars but i need it to run before any other php code on every php execution. Have you looked at http://us.php.net/manual/en/ini.core.php#ini.auto-prepend-file ? -- PHP General Mailing List (http://w

[PHP] execute my php code before every php call

2011-06-12 Thread techloop
Hi all, I have a simple code that override some env vars but i need it to run before any other php code on every php execution. I would like to avoid any change of all php code (even if its only to include the include command). Any one knows of such way ? I dont mind overriding this vars on ph