RE: [PHP] mysql input
| From: | Richard Lynch | Date: | Tue, 19 Feb 2008 19:36:45 +0000 |
| Subject: | RE: [PHP] mysql input | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269651@lists.php.net to get a copy of this message | ||
On Mon, February 18, 2008 10:19 pm, Bastien Koert wrote:
> mysql_real_escape_string()
Yes.
> addslashes()
No, not right for different charsets. See above.
> htmlentities()
Completely and wildly inappropriate.
Might as well use a cannon to slice a tomato.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?