¡@

Home 

php Programming Glossary: user_input

(PHP) How to use crypt() with CRYPT_BLOWFISH?

http://stackoverflow.com/questions/2235897/php-how-to-use-crypt-with-crypt-blowfish

a 2 character salt but MD5 based hashing uses 12. if crypt user_input password password echo Password verified In order to use CRYPT_BLOWFISH..

PHP htmlentities() on input before DB insert, instead of on output

http://stackoverflow.com/questions/3023728/php-htmlentities-on-input-before-db-insert-instead-of-on-output

downside or bad practice in doing the following procedure user_input htmlentities user_input mysql_escape user_input insert user_input.. in doing the following procedure user_input htmlentities user_input mysql_escape user_input insert user_input into DB Select user_input.. procedure user_input htmlentities user_input mysql_escape user_input insert user_input into DB Select user_input from DB echo user_input..

Comparing passwords with crypt() in PHP

http://stackoverflow.com/questions/3135524/comparing-passwords-with-crypt-in-php

salt usesomadasdsadsadsadae salt_crypt crypt salt if crypt user_input salt password FAIL WONT WORK if crypt user_input salt_crypt.. if crypt user_input salt password FAIL WONT WORK if crypt user_input salt_crypt password I HAVE TO DO THIS Thanks for your time .. and digest. When comparing password just do this if crypt user_input digest digest You are reusing the digest as salt. crypt knows..