View Single Post
Old 12-06-2007, 08:52 AM   #29 (permalink)
d4v1d
The Contributor
Good Samaritan 
 
d4v1d's Avatar
 
Join Date: Dec 2007
Location: Durban, South Africa
Posts: 51
Thanks: 1
d4v1d is on a distinguished road
Default

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.
d4v1d is offline  
Reply With Quote