David Hurst

PHP/MySQL, REALbasic, Javascript Developer

PHP Random Secure Password Generator Class

UPDATE: If you don’t want to spend the time implementing this code, and just want to generate some passwords, I’ve put it on a separate website: www.random-password.net.
I just recently had to create a function to generate random passwords on a site I was developing and thought it would be an ideal thing to expand upon […]

Read the rest of PHP Random Secure Password Generator Class

PHP Mail Script Security - Stop SPAM Vulnerabilities

Have you written any PHP scripts to handle email sending? The mail() function is one of the simplest and most useful of PHP’s in-built functions, but poorly written code can expose a huge vulnerability that allows your simple mail script to be hijacked by spammers.

Read the rest of PHP Mail Script Security - Stop SPAM Vulnerabilities