script filename?

From: Date: Sun, 25 Mar 2001 20:28:28 +0000
Subject: script filename?
Groups: php.general 
Request: Send a blank email to php-general+get-45514@lists.php.net to get a copy of this message
i was pretty sure that there was a function to return JUST the script filename.. Unlike $php_self and $script_name i need something that till ruturn JUST the scriptname. ie /test/test/blah.php returns blah.php. any ideas? or am i going to have to reverse the string find the first "/" drop the rest of the string and return the file name. :-) ~kurth

« previous php.general (#45514) next »