![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Registered User
Join Date: Jun 2002
Posts: 62
|
You need to turn on register_globals in your php.ini file...
Good luck, -Mr. T
__________________
Mr. T! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Aug 2002
Location: SoFLa
Posts: 1,344
|
If you dont want to parse the whole query string .. you should be able to get the variable with $_GET['CLICK'] .. I believe
__________________
~Butrflied~ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Just a Simple Carpenter
Join Date: May 2003
Location: Your mom's house...
Posts: 1,338
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Just a Simple Carpenter
Join Date: May 2003
Location: Your mom's house...
Posts: 1,338
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,119
|
... Too late.
Yes, $_GET was what you were looking for ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Aug 2002
Location: SoFLa
Posts: 1,344
|
Quote:
![]() ![]()
__________________
~Butrflied~ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Just a Simple Carpenter
Join Date: May 2003
Location: Your mom's house...
Posts: 1,338
|
My apologies.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Jan 2001
Location: Montreal
Posts: 1,830
|
Quote:
:P
__________________
![]() Stunner Media Programs: StandAhead | IndieBucks | BoyCrushCash | Phoenixxx | EmoProfits | BritishBucks | HunkMoney | LatinoBucks Make $$$ with Gay! Lowest Minimum Payouts in the Business, Perfect Track Record, Amazing Sites |
|
![]() |
![]() ![]() ![]() ![]() ![]() |