Re: $PHP_SELF on include file

From: Date: Wed, 20 Mar 2002 09:25:51 +0000
Subject: Re: $PHP_SELF on include file
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-89299@lists.php.net to get a copy of this message
On Wednesday 20 March 2002 10:12, José León Serna wrote: > Hello: > > try it with __FILE__ > > you might have to work a little on the resulting string, but it at least > > delivers the current file's name > > What is __FILE__, a global var, an environment variable? Could you put a > simple example? print( __FILE__ ); echo __FILE__; will show the current file name -- Wolfram ... translating template engine .... http://sf.net/projects/simpletpl

« previous php.general (#89299) next »