Posted by Ruben van Engelenburg on 01/12/07 18:25
lawrence k wrote:
> I'm working at two different companies right now, and so I'm dealing
> with 2 different servers, but I've been using this same class in all my
> code. One one server I have to uncomment the line with stripslashes. On
> the other server I need to leave it commented. Surely there is a way to
> make this code work on all servers?
>
Hi Lawrence,
Just a guess: check your magic_quotes_gpc setting in php.ini. If it's
set to on turn it off and just use stripslashes and addslashes.
Ruben.
[Back to original message]
|