Web Hosting Talk







View Full Version : PHP don't read parameter


Eric Lim
03-29-2004, 04:03 PM
After installing apache 1.3x and php4 in my laptop, i am writing some simple login scripts.

For example, a page login.php?page=proclogin

It doesn't look like that the variable page be able to recognize the proclogin in the URL bar when I try to execute it. Therefore, it never logins successfully.

Does it have anything to do with my scripts and I messed up the php/apache installation?

RedShift
03-29-2004, 04:43 PM
Is register_globals on or off in php.ini?
If it is off, you need to use $_GET['page']

Eric Lim
04-14-2004, 11:13 AM
Yeah, that seems to be the problem. Thanks.