View Single Post
Old March 12th, 2008, 5:00 PM   #9 (permalink)
cass_is_awesome
I killed the bus driver.
On a golden path...
 
cass_is_awesome's Avatar
 
Joined in Mar 2008
Lives in Michigan
Hosted on SH138
326 posts
Gave thanks: 6
Thanked 8 times
Quote:
Originally Posted by Mark View Post
Glad you got it working. Don't forget to sanitize any variables you are putting into an SQL string:

PHP Code:
$userName mysql_real_escape_string($_POST['userName']); 
password doesn't need it since you are md5ing it.
And that just saved me a lot of coding, as I sanitized the Vars with my own convoluted and "dirty coded" functions.

And that is why I am growing to love this place already.
__________________
I tend to turn every thread I post in into the Post A Random Photo Thread
cass_is_awesome is offline   Reply With Quote