Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

Register Globals

General discussions related to php

Moderators: macek, egami, gesf

Postby DoppyNL » 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
DoppyNL
 

Postby Jay » 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)
Jay
 


Return to PHP General

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.