php-general Digest 12 Jun 2011 19:01:17 -0000 Issue 7354

2011-06-12 Thread php-general-digest-help
php-general Digest 12 Jun 2011 19:01:17 - Issue 7354 Topics (messages 313490 through 313492): Re: Class not used as an object (Scope Resolution Operator) 313490 by: Paul M Foster 313491 by: David Harkness execute my php code before every php call 313492 by: techloop

[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

[PHP] debugging using error_log stuff

2011-06-12 Thread Tamara Temple
I read the recipe on debugging pmwiki functions and such at http://www.pmwiki.org/wiki/Cookbook/DebuggingForCookbookAuthors This isn't a PmWiki problem, per se, which is why it's going to both lists. I inserted the little sms function into pmwiki.php itself to try out (PmWiki

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

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

2011-06-12 Thread Stuart Dallas
On 12 Jun 2011, at 19:46, techloop techloop...@gmail.com 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

[PHP] Re: [pmwiki-users] debugging using error_log stuff

2011-06-12 Thread Tamara Temple
On Jun 12, 2011, at 4:32 PM, Peter Bowers wrote: On Sun, Jun 12, 2011 at 3:18 PM, Tamara Temple tamouse.li...@gmail.com wrote: function sms($text,$switch=0){ global $MessagesFmt; error_log(date(DATE_RFC822). Entered sms. text=$text.