12-06-2007, 08:52 AM
|
#29 (permalink)
|
|
The Contributor
Join Date: Dec 2007
Location: Durban, South Africa
Posts: 51
Thanks: 1
|
Instead of posting a new thread, I thought I might as well post here, considering one of the main issues was magic quotes...
Is there a way of temporarily turning magic quotes and register globals off using ini_set?
I've read that you can use the following:
PHP Code:
ini_set('register_globals', '0');
ini_set('magic_quotes_gpc', '0');
ini_set('magic_quotes_runtime', '0');
But, I've also read elsewhere that the above method won't work, and it has to be set in the .htaccess file.
|
|
|
|