RE: [PHP-DEV] Filename of the currently executed php script

2004-05-16 Thread Wez Furlong
Subject: [PHP-DEV] Filename of the currently executed php script > > Hi > > I'm a greenhorn tying to add some code to > /ext/standard/mail.c php_mail(...), > but I have trouble to get the filename of the php script that > triggers the > php_mail(...) call. compiler_

[PHP-DEV] Filename of the currently executed php script

2004-05-16 Thread Stefan Mueller
Hi I'm a greenhorn tying to add some code to /ext/standard/mail.c php_mail(...), but I have trouble to get the filename of the php script that triggers the php_mail(...) call. compiler_globals.compiled_filename doesn't work. It's always NULL. Any ideas how i could get this filename? thanks !