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;?> 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! 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 ??? 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 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; } ?> Link to comment https://forums.phpfreaks.com/topic/138318-solved-unexpected/#findComment-723224 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.