Re: stripslahes() | Common pitfalls?
| From: | Nick Wilson | Date: | Tue, 17 Sep 2002 15:39:41 +0000 |
| Subject: | Re: stripslahes() | Common pitfalls? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116642@lists.php.net to get a copy of this message | ||
-----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 very mucn...
- --
Nick Wilson // www.tioka.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD4DBQE9h0y8HpvrrTa6L5oRAhd6AJY4UEp63qtfp25j/ZghCNT7ffCPAKCmdyML
iGLvRSAh7RSiHSuL60rdTw==
=YIVc
-----END PGP SIGNATURE-----