Using the crypto_rand_secure to roll and will fallback to mt_rand if that funtion is not supported. Added new file base.php, which contains functions, configuration for the database and reCAPTCHA keys and the database initialization. The page after you've written in your message is now shown correctly. The giveaway page will not show the captcha thingy when you've already rolled the chance.