From: ahmet demir (turkosx@gmail.com)
Date: Sat 15 Sep 2007 - 23:12:48 EEST
sozcuk dogrulama icin ornek kodu kullanarak deneme yapmak istiyorum fakat
kodda hata veriyor hatayi bir turlu bulamadim.
Text_CAPTCHA,Image_Text,Text_Password yuklu..
hata kodu:Object to string conversion line 8
ornek kod:
<?php
session_start();
require_once 'Text/CAPTCHA.php';
$captcha = Text_CAPTCHA::factory('Image');
$captcha->init(150, 150);
$image = $captcha->getCAPTCHAAsJPEG();
$handle = fopen('captcha.jpg', 'w');
fwrite($handle, $image);
fclose($handle);
$_SESSION['captcha_phrase'] = $captcha->getPhrase();
?>
_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama