> I have seen the same problem reported repeatedly on bug tracking system:
>   in php-cgi mode PHP_SELF is copied from PATH_INFO -> in standard cgi mode
> it is useless (for example bug report see
> http://bugs.php.net/bug.php?id=18942&edit=1)

You can always use $argv[0] as described here:
http://www.php.net/manual/en/printwn/features.commandline.php

A small note in the documentation should clear things out IMHO.

Regards,
Arkadiusz Góralski: [EMAIL PROTECTED]

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to