note 31456 rejected from reserved.variables by joey

From: Date: Fri, 16 May 2003 00:17:08 +0000
Subject: note 31456 rejected from reserved.variables by joey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48060@lists.php.net to get a copy of this message
Another way to get the current script filename without the path: $filename = basename($PHP_SELF); or (without the .php extension): $filename = basename($PHP_SELF, ".php"); (Use $_SERVER['PHP_SELF'] if your setup prefers that.)

« previous php.notes (#48060) next »