Posted by gosha bine on 05/18/07 16:25
On 18.05.2007 18:17 Steve wrote:
> thanks...i did google and found that shortly after posting the question. i
> was hoping to find that there was php function that defined the run-time env
> a bit more elegantly though.
There is.
http://www.php.net/php_sapi_name
$_SERVER['argv'] can be set in mod_php as well, depending on the
"register_argc_argv" directive.
--
gosha bine
extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok
[Back to original message]
|