Re: note 8373 added to htmlspecialchars
| From: | J. M. Castagnetto | Date: | Fri, 08 Sep 2000 18:36:02 +0000 |
| Subject: | Re: note 8373 added to htmlspecialchars | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4564@lists.php.net to get a copy of this message | ||
Not really. You can use addslashes if you need to do
that.
Your note has been deleted.
--- jon+php-dev@unequivocal.co.uk wrote:
> NOTE: To be entirely correct, this function should
> escape the "'" character also.
>
> To get this functionality, use:
>
> str_replace("'", "'", htmlspecialchars($foo))
>
>
>
http://www.php.net/manual/function.htmlspecialchars.php
>
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-notes-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/