Blocking HTML code in inserts?

2008-08-02 Thread Skip Evans
Hey all, What is the most effective way to block HTML code in insert statements? I have a client with a comments form that is being bombarded with people inserting references to their own sites, etc, and I need an effective way to filter basically any HTML tags at all. Thanks, Skip --

Re: Blocking HTML code in inserts?

2008-08-02 Thread Mr. Shawn H. Corey
On Sat, 2008-08-02 at 16:16 -0500, Skip Evans wrote: Hey all, What is the most effective way to block HTML code in insert statements? I have a client with a comments form that is being bombarded with people inserting references to their own sites, etc, and I need an effective way to

Re: Blocking HTML code in inserts?

2008-08-02 Thread Mark Goodge
Skip Evans wrote: Hey all, What is the most effective way to block HTML code in insert statements? I have a client with a comments form that is being bombarded with people inserting references to their own sites, etc, and I need an effective way to filter basically any HTML tags at all.

Re: Blocking HTML code in inserts?

2008-08-02 Thread chaim . rieger
Doubt this can be done easily if at all. Accept only text and no html. But even that should be the job of the form validator --Original Message-- From: Skip Evans To: mysql@lists.mysql.com Sent: Aug 2, 2008 14:16 Subject: Blocking HTML code in inserts? Hey all, What is the most

Re: Blocking HTML code in inserts?

2008-08-02 Thread Shannon Wade
assuming php from your sig strip_tags http://www.php.net/manual/en/function.strip-tags.php shannon On Aug 2, 2008, at 5:16 PM, Skip Evans wrote: Hey all, What is the most effective way to block HTML code in insert statements? I have a client with a comments form that is being

RE: Blocking HTML code in inserts?

2008-08-02 Thread Martin Gainty
not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Sat, 2 Aug 2008 18:51:55 -0400 From: [EMAIL PROTECTED] Subject: Re: Blocking HTML code in inserts? To: mysql@lists.mysql.com assuming php