Re: register globals not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have installed php v5 on a windowsXP PC. Server is Apache 2.2.
Even though I have turned register globals on in the ini file,
> the php is still not allowing the use of $HTTP_GET_VARS (and probably
other similier variables), and I am having to change my existing script
> to $_GET before they will run.

Any idea why the directive is being ignored?
Rodney Courtis

On? Register globals is widely considered to be a security hazard. Ideally you should be using the $_GET etc variables instead. Anyhoo the $HTTP_*_VARS are (IIRC) controlled by the track_vars directive. So turn that on, restart Apache, and then try.

--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk

Knowledge Base and HelpDesk software
that can cut the cost of online support

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux