RE: [PHP] Get filename in php command line
| From: | Boget, Chris | Date: | Tue, 17 Jul 2001 15:52:51 +0000 |
| Subject: | RE: [PHP] Get filename in php command line | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-58287@lists.php.net to get a copy of this message | ||
> Seems that $PHP_SELF is not defined when it's run from the
> command line.
Try:
__FILE__
Chris