Le magic quotes non si cambiano runtime. Magari c'era un stripslashes improprio che le toglieva.