Re: note 31456 rejected from reserved.variables by joey

From: Date: Fri, 16 May 2003 00:30:38 +0000
Subject: Re: note 31456 rejected from reserved.variables by joey
References: 1 2 3  Groups: php.notes 
Request: Send a blank email to php-notes+get-48062@lists.php.net to get a copy of this message
Yep, deletion would have been better. --Andrew On Thu, 2003-05-15 at 19:36, Maxim Maletsky wrote: > Why did you `reject' this post, Joey? > > I thought rejecting is needed when there was rather a question asked > since the email original poster gets indicates the directions to where > find the help. I would usually delete such post quietly. > > -- > Maxim Maletsky > maxim@php.net > > > > On 16 May 2003 00:17:08 -0000 > joey@php.net wrote: > > > 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.) > > > > -- > > PHP Notes Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Andrew Lindeman <alindeman@php.net>

« previous php.notes (#48062) next »