note 32085 rejected from reserved.variables by joey
| From: | joey@php.net | Date: | Fri, 16 May 2003 00:16:57 +0000 |
| Subject: | note 32085 rejected from reserved.variables by joey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48059@lists.php.net to get a copy of this message | ||
This is response to frappyjohn's comment above:
You can get the name of the current included script using
the __FILE__ constant. Use basename(__FILE__) if you want
the filename without a path.