Re: [PHP] Alternative to stripslashes(htmlentities($textstring))

2004-04-06 Thread holmes072000
> From: gohaku <[EMAIL PROTECTED]>

> I was just curious if there is another function that
> does the same job as stripslashes(htmlentities($textstring)).

Nope. Do it that way. 

Or you can turn off magic_quotes_gpc, which is probably the reason you have to run 
stripslashes(). 

---John Holmes...

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



[PHP] Alternative to stripslashes(htmlentities($textstring))

2004-04-06 Thread gohaku
Hi everyone,
I was just curious if there is another function that
does the same job as stripslashes(htmlentities($textstring)).
I am using this Combined function to echo back Text that is entered in 
a Text Field.
Thanks in advance.
-gohaku

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