Oops, forgot about register globals.  

I'll just add that register globals can't be changed with ini_set();  It has
to be done in the php.ini config file (and Apache must be restarted).   

If this is a site open to the general public it's a good idea to not turn
globals on, and to use the example Rich provided below.   All this is
documented in the page below (with more or less verbosity).  

 - Mike


> From v4.2.x register_globals is switched off by default ... 
> use $_GET['var']
> in this case
> 
> http://www.php.net/manual/en/security.registerglobals.php
> 
> Rich

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

Reply via email to