On 9 August 2010 12:32, Bostjan Skufca <bost...@a2o.si> wrote: > Hi all! > > I am developing a small PHP extension and I ATM can't figure out how to get > to $_SERVER['SCRIPT_FILENAME'] content while in PHP_RINIT or PHP_RSHUTDOWN > function. Can someone please hint me with this one? > > Thanks, > b. >
If the script is run via the command line (in my limited experience, this would be the CLI, CGI, FastCGI SAPIs, others also maybe), can't you look through the command line parameters? -- Richard Quadling. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php