GetReady Posted April 3, 2010 Share Posted April 3, 2010 Trying to MD5 the password of the registering user and the below code gives me an error, any help will be appreciated, Thanks. //echo "Registering"; $isResistered=1; createUser($cgi['username'], $cgi['class'], $cgi['email'], md5($cgi['password'], $cgi['uniqid'] ); Link to comment https://forums.phpfreaks.com/topic/197477-can-anyone-see-the-problem-here/ Share on other sites More sharing options...
GetPutDelete Posted April 3, 2010 Share Posted April 3, 2010 You forgot to close the bracket on the md5 function. Errors mean something, in the future please post yours. Link to comment https://forums.phpfreaks.com/topic/197477-can-anyone-see-the-problem-here/#findComment-1036489 Share on other sites More sharing options...
Lukeidiot Posted April 3, 2010 Share Posted April 3, 2010 Trying to MD5 the password of the registering user and the below code gives me an error, any help will be appreciated, Thanks. //echo "Registering"; $isResistered=1; createUser($cgi['username'], $cgi['class'], $cgi['email'], md5($cgi['password'], $cgi['uniqid'] ); //echo "Registering"; $isResistered=1; createUser($cgi['username'], $cgi['class'], $cgi['email'], md5($cgi['password']), $cgi['uniqid'] ); Link to comment https://forums.phpfreaks.com/topic/197477-can-anyone-see-the-problem-here/#findComment-1036527 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.