Register Globals

General discussions related to php

Moderators: egami, macek, gesf

Post Reply

Sun Oct 27, 2002 2:30 pm

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


Sun Oct 27, 2002 3:14 pm

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

Post Reply