> 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 guess that you're not assigning the result to anything. Are you
doing this?

stripslashes($_COOKIE['value']);

instead of

$new_value = stripslashes($_COOKIE['value']);

??

---John Holmes...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to