Masna Posted May 21, 2009 Share Posted May 21, 2009 I was just working on some mods for an SM forum that I'm installing on my own site, and I came across this... if (!empty($regOptions['check_reserved_name']) && isReservedName($regOptions['username'], 0, false)) { if ($regOptions['password'] == 'chocolate cake') fatal_error('Sorry, I don\'t take bribes... you\'ll need to come up with a different name.', false); fatal_error('(' . htmlspecialchars($regOptions['username']) . ') ' . $txt[473], false); } Basically, when trying to register on an SM forum, if the username you enter is already in use and you enter the password 'chocolate cake', the error "Sorry, I don't take bribes... you'll need to come up with a different name." shows. I thought that was quite hysterical, and so I felt the need to share. Try it on this forum. Quote Link to comment https://forums.phpfreaks.com/topic/159052-chocolate-cake/ Share on other sites More sharing options...
waynew Posted May 21, 2009 Share Posted May 21, 2009 Confirmed. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/159052-chocolate-cake/#findComment-838752 Share on other sites More sharing options...
corbin Posted May 22, 2009 Share Posted May 22, 2009 That might be the weirdest thing I've ever seen. Easter eggs own! Quote Link to comment https://forums.phpfreaks.com/topic/159052-chocolate-cake/#findComment-839657 Share on other sites More sharing options...
Masna Posted May 22, 2009 Author Share Posted May 22, 2009 That might be the weirdest thing I've ever seen. Easter eggs own! Weird? Yes. Awesome? Yes. Quote Link to comment https://forums.phpfreaks.com/topic/159052-chocolate-cake/#findComment-839726 Share on other sites More sharing options...
corbin Posted May 22, 2009 Share Posted May 22, 2009 Whoever put that in there probably goes around to random SMF forums registering then laughing. Quote Link to comment https://forums.phpfreaks.com/topic/159052-chocolate-cake/#findComment-840166 Share on other sites More sharing options...
Masna Posted May 22, 2009 Author Share Posted May 22, 2009 Whoever put that in there probably goes around to random SMF forums registering then laughing. LOL! I wouldn't doubt it! Quote Link to comment https://forums.phpfreaks.com/topic/159052-chocolate-cake/#findComment-840213 Share on other sites More sharing options...
Cosizzle Posted May 23, 2009 Share Posted May 23, 2009 heh, i need to start putting random easter eggs in my apps... wonder if I could get away with it :\ Quote Link to comment https://forums.phpfreaks.com/topic/159052-chocolate-cake/#findComment-840916 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.