Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
I dunno how I missed this thread before, but here's the deal. Jamin, yes, you've already found the solution, but lemme explain why it works like it does.

Somewhere around PHP 4, the developers decided to make a few changes, which affects the way global variables are handled. It's easy to fix on your dev server--just simply change one variable in your php.ini file. Find the line that says "register_globals = Off" and change it to "register_globals = On". But first, read more about this issue at the link I provided.

It's important to understand the possible security concerns when writing scripts that use form data as variables. In theory, it shouldn't make a bit of a difference to you on your local machine, but since you're copying the files over to a real server anyway, take a look. smile

Sponsored Links
Entire Thread
Subject Posted By Posted
HTTP header vars not working in PHP Jamin 06/07/2002 9:06 PM
Re: HTTP header vars not working in PHP Brett 06/13/2002 11:26 PM
Re: HTTP header vars not working in PHP Jamin 06/15/2002 12:20 AM
Re: HTTP header vars not working in PHP Brett 06/17/2002 11:58 PM
Re: HTTP header vars not working in PHP Matt Jacob 06/18/2002 11:40 AM
Re: HTTP header vars not working in PHP Jamin 06/21/2002 4:34 PM
Re: HTTP header vars not working in PHP AllenAyres 06/27/2002 9:47 PM
Re: HTTP header vars not working in PHP Matt Jacob 07/03/2002 9:10 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)