RE: [PHP] PHP equivalent to Perl $0
| From: | Jay Blanchard | Date: | Thu, 01 Feb 2007 00:10:47 +0000 |
| Subject: | RE: [PHP] PHP equivalent to Perl $0 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-248106@lists.php.net to get a copy of this message | ||
[snip]
In Perl there is the predefined $0 which contains the name of the file
containing the Perl script being executed. Is there an equivalent in
PHP?
[/snip]
$_SERVER['PHP_SELF']