'SET NAMES utf8')); $pdo = new PDO("mysql:dbname=hokachan;host=localhost", "root", "", array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8')); // Captcha expiration: $expires_in = 300; // 120 seconds // Captcha dimensions: $width = 250; $height = 80; // Captcha length: $length = 5;