RE: [PHP-WIN] get Url
| From: | Dash McElroy | Date: | Mon, 25 Nov 2002 17:53:44 +0000 |
| Subject: | RE: [PHP-WIN] get Url | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-17122@lists.php.net to get a copy of this message | ||
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:rodrigo@stud.ntnu.no]
Sent: Monday, November 25, 2002 6:49 PM
To: php-windows@lists.php.net
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