Re: PHP variable to return filename?

From: Date: Thu, 22 Jun 2000 19:25:03 +0000
Subject: Re: PHP variable to return filename?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2690@lists.php.net to get a copy of this message
This may not be what you're looking for, but... substr($PHP_SELF, strrpos ($PHP_SELF, "/")); hth Ryan On Thu, Jun 22, 2000 at 03:14:58PM -0400, Chris Sano wrote: > I know this is another one of my lame questions, but what is the built-in > PHP variable that will return the current filename whcih is being executed? > > I tried $PHP_SELF and that returned the whole PHP path. > > Chris > > ___________________________ > got sano? (new design!) > http://www.rit.edu/~cms0670 > ---end quoted text---

« previous php.general (#2690) next »