RE: [PHP-DB] Form Validation
| From: | Gurhan Ozen | Date: | Thu, 14 Feb 2002 19:41:30 +0000 |
| Subject: | RE: [PHP-DB] Form Validation | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-16965@lists.php.net to get a copy of this message | ||
addslashes(), stripslashes(), strip_tags(), nl2br() , htmlspecialchars()
etc. etc ...
check PHP online documentation for more info on them..
But even without those functions, the data inserted thru form wouldn't crash
MySQL .. The worst that can happen is if the data has quotes or wrong format
etc. the data wouldn't be inserted into MySQL database..
Gurhan
-----Original Message-----
From: jas [mailto:jlgerfen@hotmail.com]
Sent: Thursday, February 14, 2002 2:32 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Form Validation
Anyone know of a good function to strip characters and stuff that would
cause mysql to crash from forms?
Jas
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php