Filename of the currently executed php script

From: Date: Sun, 16 May 2004 14:22:16 +0000
Subject: Filename of the currently executed php script
Groups: php.internals 
Request: Send a blank email to internals+get-9872@lists.php.net to get a copy of this message
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 ! Stefan

« previous php.internals (#9872) next »