RE: [PHP] damn $REQUEST_URI

From: Date: Mon, 25 Jun 2001 12:01:39 +0000
Subject: RE: [PHP] damn $REQUEST_URI
Groups: php.general 
Request: Send a blank email to php-general+get-55134@lists.php.net to get a copy of this message
$url = sprintf("http://%s/%s", $HTTP_HOST, $REQUEST_URI); Cheers, Maxim Maletsky -----Original Message----- From: Peter Van Dijck [mailto:peter@vardus.com] Sent: Monday, June 25, 2001 8:10 PM To: php-general@lists.php.net Subject: [PHP] damn $REQUEST_URI $REQUEST_URI gets me home/dir/index.php but I need to get the domain name. Can't seem to find it anywhere, what's the environment variable for the domain name again? Thanks! Peter ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://liga1.com building multiple language/culture websites http://poorbuthappy.editthispage.com online ethnology, up&down -- 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 (#55134) next »