Results 1 to 3 of 3
  1. #1
    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?

  2. #2
    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']

  3. #3
    Join Date
    Feb 2003
    Location
    Providence, RI
    Posts
    1,512
    Yeah, that seems to be the problem. Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •