I'm using cookies to pre fill a form and, I can't work out why I can't
get the stripslashes() function to work?
Are there any common pitfalls you can think of, I've tried just about
everything...
Show some code. What's the actual value of the cookie before you
stripslashes() it?
I'll
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then John Holmes declared
Show some code. What's the actual value of the cookie before you
stripslashes() it?
Well, that got me on the right track ;-)
Now I do this: setcookie('val', stripslashes($_POST['val']); and all is
cool!
Thanks
2 matches
Mail list logo