24, 'font_path' => './', 'font_file' => 'times.ttf' ); // Generate a new Text_CAPTCHA object, Image driver $c = Text_CAPTCHA::factory('Image'); $retval = $c->init(200, 80, null, $options); if (PEAR::isError($retval)) { echo 'Error initializing CAPTCHA!'; exit; } // Get CAPTCHA secret passphrase $_SESSION['phrase'] = $c->getPhrase(); // Get CAPTCHA image (as PNG) $png = $c->getCAPTCHAAsPNG(); if (PEAR::isError($png)) { echo 'Error generating CAPTCHA image!'; exit; } // file_put_contents($img, $png); fwrite(fopen($img, "w"), $png); ?>
![]() |
registration for puberty seminars
Cost: $25 for parents
|