View Single Post
Old 09-12-2008, 09:35 AM   #5 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

Steer well clear of register_globals, they are downright daft as well as posing a considerable security issue if not done correctly.

Use the super globals:
PHP Code:
$_GET[];
$_POST[];
//or even use request, which is a fudge of the two above arrays as well as cookie data
$_REQUEST[]//contains  GET POST and COOKIE 
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote