Register Globals

A

Anonymous

Guest
3 possible solutions:

1. use 2 scripts
2. adjust your script so it works with $_GET and $_POST
3. use $_REQUEST, wich is $_POST, $_GET and $_COOKIE all in one.

you could also simply use the "normal variables" instead of the global arrays, since there available to you also. But I don't seem to like that method anymore lately....

Greetz Daan
 
Just use $_REQUEST instead of $_GET and $_POST (unless you know for certain the circumstances under which either one is used exclusively)
 
Back
Top