vic vance Posted March 14, 2009 Share Posted March 14, 2009 Hey I was looking through some scripts and I saw the following code: set_magic_quotes_runtime(0); I am not sure what exactly is that, I even tried looking it up in google and php.net and seems I can't manage to understand due to the complex language used to explain it. Can I get some help in understanding this particular code. Please try being less complicated in explaining it, thank you. Quote Link to comment https://forums.phpfreaks.com/topic/149379-set_magic_quotes_runtime/ Share on other sites More sharing options...
revraz Posted March 14, 2009 Share Posted March 14, 2009 You sure it wasn't a coded function? Quote Link to comment https://forums.phpfreaks.com/topic/149379-set_magic_quotes_runtime/#findComment-784542 Share on other sites More sharing options...
vic vance Posted March 14, 2009 Author Share Posted March 14, 2009 I am 100% sure its not a coded function. Quote Link to comment https://forums.phpfreaks.com/topic/149379-set_magic_quotes_runtime/#findComment-784548 Share on other sites More sharing options...
premiso Posted March 14, 2009 Share Posted March 14, 2009 The script creator could have had that function which would have called ini_set. It is better, however, to change it in .htaccess or more preferably php.ini. Quote Link to comment https://forums.phpfreaks.com/topic/149379-set_magic_quotes_runtime/#findComment-784557 Share on other sites More sharing options...
PFMaBiSmAd Posted March 14, 2009 Share Posted March 14, 2009 Or you could just look in the php manual for it - http://us.php.net/set_magic_quotes_runtime Quote Link to comment https://forums.phpfreaks.com/topic/149379-set_magic_quotes_runtime/#findComment-784589 Share on other sites More sharing options...
vic vance Posted March 15, 2009 Author Share Posted March 15, 2009 No the problem here is a do not understand it I have been there. Thats why I requested someone to help me understand it. Quote Link to comment https://forums.phpfreaks.com/topic/149379-set_magic_quotes_runtime/#findComment-784935 Share on other sites More sharing options...
PFMaBiSmAd Posted March 15, 2009 Share Posted March 15, 2009 set_magic_quotes_runtime(0); sets the magic quotes runtime setting OFF. If your question is in fact what does the magic quotes runtime setting do or what is the effect of turning it off, you would need to state that in your question, because all you asked is: "I am not sure what exactly is that - set_magic_quotes_runtime(0);" Quote Link to comment https://forums.phpfreaks.com/topic/149379-set_magic_quotes_runtime/#findComment-785002 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.