note 58509 deleted from function.crypt by joey
| From: | joey@php.net | Date: | Mon, 27 Dec 2010 12:19:14 +0000 |
| Subject: | note 58509 deleted from function.crypt by joey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-175224@lists.php.net to get a copy of this message | ||
Note Submitter: bjorninges dot spam at gmail dot com
----
Note to topace's code: you should not use $_POST['password'] directly in your query
as you are open to sql-injects.
Use the quote_smart() function from http://no.php.net/mysql_real_escape_string
before adding user-submitted data to the query