Update showCaptcha.php: code optimisation and check if php gd extension is loaded

why use complex array functions when a simple string is enough :)
Update showCaptcha.php
Merge pull request #210 from devplanete/patch-16

Update showCaptcha.php: code optimisation + check php gd extension