darkfreaks Posted December 24, 2008 Share Posted December 24, 2008 ok guys im trying to find out what doom would be md5 sha1 because i changed it to md5 only so it has a md5 in a database where its sposed to be md5 sha1. so i got this code: <?php $string="doom"; md5(sha1($string); // error line return $string;?> Quote Link to comment https://forums.phpfreaks.com/topic/138318-solved-unexpected/ Share on other sites More sharing options...
Maq Posted December 24, 2008 Share Posted December 24, 2008 lol md5(sha1($string)); // error line close your functions! Quote Link to comment https://forums.phpfreaks.com/topic/138318-solved-unexpected/#findComment-723216 Share on other sites More sharing options...
darkfreaks Posted December 24, 2008 Author Share Posted December 24, 2008 ok that didnt work either any ideas ??? Quote Link to comment https://forums.phpfreaks.com/topic/138318-solved-unexpected/#findComment-723217 Share on other sites More sharing options...
darkfreaks Posted December 24, 2008 Author Share Posted December 24, 2008 oh lol im silly Quote Link to comment https://forums.phpfreaks.com/topic/138318-solved-unexpected/#findComment-723222 Share on other sites More sharing options...
Maq Posted December 24, 2008 Share Posted December 24, 2008 $string="doom"; echo encrypter($string); function encrypter($string) { $string = md5(sha1($string)); return $string; } ?> Quote Link to comment https://forums.phpfreaks.com/topic/138318-solved-unexpected/#findComment-723224 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.