Magic quotes is a feature of php. It's turned on via a setting in php.ini and is something that you should not be using.
It was a bad idea from the start.
What is your actual issue and do you have code to show us?
My helpful sig has gone because a mod below the administrator gave me an infraction - despite the administrator personally agreeing to it.
If you need any php tips or tricks you can PM me.