Re: Address typed in address bar

From: Date: Sat, 26 Apr 2003 23:34:06 +0000
Subject: Re: Address typed in address bar
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145387@lists.php.net to get a copy of this message
sure $_SERVER['SERVER_PROTOCOL'] // This will tell you if it is. ie: HTTP/1.0 $_SERVER['HTTPS'] // if this is set to 'on' then you know that it // was a secure page that was requested $_SERVER['SERVER_NAME'] // This will give you the exact name // typed in the address bar $_SERVER['SERVER_PORT'] // this will give you the PORT requested // just incase it is something other then port 80 $_SERVER['REQUEST_URL'] // This will give you the full web path to your // current script being accessed put all these together, you know exactly what address was typed in the address bar of the web browser. Jim Lucas ----- Original Message ----- From: "Siddharth" <sidh@hathway.com> To: <php-general@lists.php.net> Sent: Saturday, April 26, 2003 2:29 PM Subject: [PHP] Address typed in address bar > Hello everyone, > > Is it possible to get the exact address that was typed in the address > bar while requesting a PHP file? > > Thank you. > > - Sid > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#145387) next »