RE: [PHP-DB] protecting
| From: | Beau Lebens | Date: | Tue, 12 Feb 2002 04:27:52 +0000 |
| Subject: | RE: [PHP-DB] protecting | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16844@lists.php.net to get a copy of this message | ||
you might find the library at http://www.dentedreality.com.au/jsvalidation/
useful, but you should also perform similar checks server-side using PHP
since if you are that worried about malicious use of your site, people can
easily circumvent javascript validation
// -----Original Message-----
// From: Mihail Bota [mailto:mbota@java.usc.edu]
// Sent: Tuesday, 12 February 2002 12:19 PM
// To: CrossWalkCentral
// Cc: php-db@lists.php.net
// Subject: Re: [PHP-DB] protecting
//
//
// put some javascript validation form. if the value of the form cntains
// .jpg, etc. don't allow the user to go further.
//
// On Mon, 11 Feb 2002, CrossWalkCentral wrote:
//
// > How can I help protect people form modifying a form that
// submits data to php file that stores the data in a database
// >
// > for example I have a text box that ask for a first name
// and I am getting a lot of garbage back like if they modified
// my form and submitted a image instead.
// >
// > I know that their is some sort of parse out their that I
// can put in the php file that will help validate this
// >
//
//
// --
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, visit: http://www.php.net/unsub.php
//