PHP with register_globals = on: $PHP_SELF PHP with register_Globals = off: $_SERVER['PHP_SELF'] (4.1.x or greater)
Check a phpinfo() screen for more variables. There are some other ones that can be extremely helpful (if you have a GET string you want to save too, use $_SERVER['REQUEST_URI'], etc). -Dash -----Original Message----- From: Rodrigo San Martin [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 6:49 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] get Url "Http://www.host.com/testfile.php" Need to get the filename "testfile.php". How do i do that??? ------------------------------------------ Rodrigo San Martin Institutt for datateknologi og informatikk -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php