Menu

#2 Extract HTTP parameters

open
nobody
None
5
2004-01-16
2004-01-16
Joe Faith
No

All the scripts currently rely on register_globals being set
on in php.ini, rather than explicitly binding variables to
HTTP parameters.

But register_globals is going to be deprecated at some
point.

See attached for an example.

Discussion

  • Joe Faith

    Joe Faith - 2004-01-16

    Example amended adduser.php file

     
  • Patrick

    Patrick - 2004-02-27

    Logged In: YES
    user_id=789108

    This program should use the get ini setting keyword to
    determine if the program uses $_POST/$_GET, then from
    that, it should alter how it gets the data.

     

Log in to post a comment.