Jump to content

Chocolate Cake


Masna

Recommended Posts

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. :)

Link to comment
https://forums.phpfreaks.com/topic/159052-chocolate-cake/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.