Results 1 to 3 of 3
Thread: PHP don't read parameter
-
03-29-2004, 04:03 PM #1Web Hosting Master
- Join Date
- Feb 2003
- Location
- Providence, RI
- Posts
- 1,512
PHP don't read parameter
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?
-
03-29-2004, 04:43 PM #2Junior Guru Wannabe
- Join Date
- Mar 2004
- Location
- Belgium
- Posts
- 81
Is register_globals on or off in php.ini?
If it is off, you need to use $_GET['page']
-
04-14-2004, 11:13 AM #3Web Hosting Master
- Join Date
- Feb 2003
- Location
- Providence, RI
- Posts
- 1,512
Yeah, that seems to be the problem. Thanks.