Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

detecting some URI information.... 1

Status
Not open for further replies.

theEclipse

Programmer
Dec 27, 1999
1,190
US
I am setting up a site where a part of it will be secure (order processing). The entire site uses a session-based user managment system, and I am finding out now that we can run into a problem when loading the SSL cert. if the site is not at the of the site (eg. vs somesite.com).

I figure no problem...I'll just check for and redirect to the it doesnt exist in my template file. Problem is, I cant seem to find a PHP $_SERVER var or simmilar that allows me to detect the address that the user typed in the address bar.

Right now I am implementing a Javascript soloution, but I would like to stay away from things like that (as the user could potentially turn it off). Is there a PHP way to check this?

Robert Carpenter
Remember....eternity is much longer than this ~80 years we will spend roaming this earth.
ô¿ô
 
sleipnir -

nice...thanks. Just now I got to thinking and I should have done
Code:
print_r($_SERVER)

Robert Carpenter
Remember....eternity is much longer than this ~80 years we will spend roaming this earth.
ô¿ô
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top