Page 1 of 1
FATAL ERROR: register_globals is disabled in php.ini
Posted: Fri Mar 26, 2010 6:04 pm
by lakshkhamesra
I enabled it.
I even enabled allow_url_fopen
Still it shows this error.
Here is the link -
http://lakshwebdesign.com/clients/johnn ... /index.php
Can anyone help plz?
Re: FATAL ERROR: register_globals is disabled in php.ini
Posted: Fri Mar 26, 2010 6:37 pm
by cpetercarter
You really, really should not be running code which relies on register_globals being enabled. It is a major security risk.
Re: FATAL ERROR: register_globals is disabled in php.ini
Posted: Fri Mar 26, 2010 6:58 pm
by John Cartwright
Yes, it should never be used and is deprecated. However, if you need to enable it (for reasons beyond me) you need to modify your php.ini. The location of your loaded php.ini can be used by running phpinfo(). Otherwise, depending on your server, you can enable it by .htaccess by adding the following files
..you've been warned.