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

why use complex array functions when a simple string is enough :)