Forum Moderators: coopster
Can't for the life of me work out why I can't seem to use stripslashes()
Whenever the form I'm using is pre-filled with the cookies I've set (username etc) they are slashed :(
I've tried stripslashes($_COOKIE['value']);
and a number of other things to no avail....
Anyone think of where I might look in my code?
Cheers
Nick
When I do this now:
setcookie('val', stripslashes($_POST['val']);
all is well. Strange though as I thought I'd tried that before posting?
Well, weirder things happen when you're knee deep in a simple script grown scary ;)
Cheers
Nick