RE: [PHP] tracking the current url

From: Date: Sat, 10 Feb 2001 08:45:34 +0000
Subject: RE: [PHP] tracking the current url
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39060@lists.php.net to get a copy of this message
you could simply use $HTTP_HOST.$PHP_SELF of even better if look here: http://www.php.net/manual/en/language.variables.predefined.php Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) maxim@phpbeginner.com www.phpbeginner.com -----Original Message----- From: McShen [mailto:webmaster@celebritieszones.com] Sent: Saturday, February 10, 2001 9:00 AM To: php-general@lists.php.net Subject: [PHP] tracking the current url hi Can you tell me how to track the current url by using PHP? for example, Mike is visiting http://www.celebritieszones.com/showthumb/britney_spears/1/ and i wanna make a PHP script so it tells Mike that he is currently browing http://www.celebritieszones.com/showthumb/britney_spears/1/ I tried to use $url_array=explode("\",$REQUEST_URI); But it didn't work. It showed Array instead of the URL when i tried to display it. Please help. Thanks ------- free celebritieszones email: http://www.celebrititeszones.com/login.php -- 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 (#39060) next »