Thread
:
PHP Question. Help me out here, folks.
View Single Post
March 12th, 2008, 4:44 PM
#
6
(
permalink
)
Mark
Surpass Developer
On a golden path...
Joined in
Jan 2004
Lives in
Florida
Hosted on
decc.surpasshosting.com
463
posts
Gave thanks: 15
Thanked 75 times
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.
__________________
Mark
Surpass Hosting Developer
sɹnoʎ uɐɥʇ ɹǝʇʇǝq sı bıs ʎɯ
This user thanks Mark for this great post!
cass_is_awesome
(March 12th, 2008)
Mark
View Public Profile
Visit Mark's homepage!
Find More Posts by Mark