Re: Any Cold Fusion users???

From: Date: Tue, 01 Aug 2000 21:24:08 +0000
Subject: Re: Any Cold Fusion users???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9562@lists.php.net to get a copy of this message
> Does PHP have something along the lines of Cold Fusion's > #GetFileFromPath(GetTemplatePath())#. I would assume there is some way to do > this but I don't know what it's called and haven't run across an example > that seems to do this. http://www.php.net/manual/function.dirname.php http://www.php.net/manual/function.basename.php $PHP_SELF returns the name of the current file qualified from the webroot. However, if you just want the name of the current file, __FILE__ is a constant that will return the name of the current file.

« previous php.general (#9562) next »