[PHP] stripslahes() | Common pitfalls?

2002-09-17 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, 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... - -- Nick Wilson // www.tioka.com

RE: [PHP] stripslahes() | Common pitfalls?

2002-09-17 Thread John Holmes
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

Re: [PHP] stripslahes() | Common pitfalls?

2002-09-17 Thread Nick Wilson
-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