RE: [PHP-GENERAL] Get name of file

From: Date: Fri, 19 May 2000 12:28:36 +0000
Subject: RE: [PHP-GENERAL] Get name of file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-193@lists.php.net to get a copy of this message
To retrieve the name of the file you are running on your website try $PHP_SELF This will return things like /index.php or /mydir/somefile.php Liz > -----Original Message----- > From: Thorsten Weigl [mailto:thorsten@avendo.de] > Sent: Friday, May 19, 2000 13:11 > To: php-general@lists.php.net > Subject: [PHP-GENERAL] Get name of file > > > Hello! > > I need a function that reads out the name of the file where it is > called. > > Any ideas ? > > Thorsten > > -- > weigl !interService > > thorsten weigl > [director, business development] > > >> tel +49-89-510 99 310 > >> fax +49-89-510 99 311 > >> email t.weigl@weigl.de > > we do the network > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#193) next »