Name of file?

From: Date: Tue, 20 Nov 2001 09:35:11 +0000
Subject: Name of file?
Groups: php.general 
Request: Send a blank email to php-general+get-75222@lists.php.net to get a copy of this message
Here goes an easy one... I need a script that returns me the name of the page it is in. I mean, if this script is in a page called "test3.php", then it should return "test3.php", and if it is on a page called "heynow.php" it should return, you guessed it, "heynow.php". Thanks!

« previous php.general (#75222) next »