Link to home
Start Free TrialLog in
Avatar of DJ_AM_Juicebox
DJ_AM_Juicebox

asked on

magic quotes agony

Hi,

I'm sending some data to a PHP script via a POST. It contains single quotes and stuff like that which should NOT be escaped. However it also has backslashes too as valid data. So if I use stripslashes, that will remove my valid backslashes too?

My hosting company doesn't give me a .htaccess file, I set magic quotes to OFF in the php.ini file and copied it into all directories, but it's still adding the backslashes.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of r_bielak
r_bielak

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial