View Single Post
Old 01-20-2004, 08:02 PM  
PhillipB
Just a Simple Carpenter
 
Join Date: May 2003
Location: Your mom's house...
Posts: 1,338
tech question for PHP gurus...please help!

Ok, so on my old server I could parse usernames in HTML by using this:

echo $PHP_AUTH_USER


When I switched to a new server running Plesk, it didn't work. So after a little reading about "Global Variables" and mine being turned off, I had to swith the code to this:

echo $_SERVER['PHP_AUTH_USER']

Now everything works fine except for my linking codes: I used to pass a "Click" variable through a URL to my tours. The URL would be something like http://www.domain.com?CLICK=xxxxx

and in my tour page I would have:

echo $CLICK

However, on the new server, it's not being passed to the page. The CLICK= part just ends up blank. Is there something I have to change because of my global variables being turned off or ???


Thanks in advance.
PhillipB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote