We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38670
    • 11 Posts
    Thanks for this, It worked for me.

    Quote from: tirithen at Mar 09, 2010, 02:15 PM
    Oh, and by the way, the thing I did to neutrlize magic_quotes when they where set to on was:
    foreach ($_GET as $key => $value) {
    	$_GET[$key] = stripslashes($value);
    }
    foreach ($_POST as $key => $value) {
    	$_POST[$key] = stripslashes($value);
    }
    


    Inside index.php and index-ajax.php and in manager/index.php at the top of each file, ugly solution but it did the trick. I'm glad being able to take it away now.
      • 6723
      • 93 Posts
      I got the impression that the ISP people who one of my clients was with, didn't really have a clue about PHP - probably resellers - and this has worked for me and saved loads of time. As I was having to add the content to my docs via phpMyAdmin manually.

      Thank You !

      Quote from: tirithen at Mar 09, 2010, 02:15 PM
      Oh, and by the way, the thing I did to neutrlize magic_quotes when they where set to on was:
      foreach ($_GET as $key => $value) {
      	$_GET[$key] = stripslashes($value);
      }
      foreach ($_POST as $key => $value) {
      	$_POST[$key] = stripslashes($value);
      }
      


      Inside index.php and index-ajax.php and in manager/index.php at the top of each file, ugly solution but it did the trick. I'm glad being able to take it away now.