> foreach($HTTP_POST_VARS as $var => $val) {
>       $$var = $val;
> }
> 
> // repeat for the other relevant $HTTP_*_VARS
> 
> The result was a short script that could be require_once'd at the
> top of every script that depended on register_globals being off. 

Er, I mean 'that depended on register_globals being *on*'. =/

-- 
James Clifford
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to