Re: Please visit my php program

From: Date: Sat, 27 Sep 2003 20:25:54 +0000
Subject: Re: Please visit my php program
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-164112@lists.php.net to get a copy of this message
On samplePost.php simply lower your error reporting level. If you do not have access to your php.ini (not everyone does), then can you can amend this directive in either .htaccess or even on a per script basis by using the error_reporting() function like so. error_reporting(2039); (Equivalent to E_ALL & ~E_NOTICE) "Becoming Digital" <subs@becomingdigital.com> wrote in message news:001101c3852f$bd466450$6401a8c0@becomingmaster... You're missing the image "attention.gif." Also, if a user directly loads samplePost.php, your script generates the following error: "Notice: Undefined index: captcha in /usr163/home/b/e/bestweb/public_html/captcha/samplePost.php on line 12 It's not a bad little script. I would recommend adding nonsense words; using dictionary words allows for fairly easy bypass. Also consider adding some error control to samplePost.php such that it sends you back to test.php if the page is directly loaded. An HTTP referrer check seems ideal. Have fun. Edward Dudlik Becoming Digital www.becomingdigital.com ----- Original Message ----- From: "Ryan A" <ryan@coinpass.com> To: <php-general@lists.php.net> Sent: Saturday, 27 September, 2003 15:21 Subject: [PHP] Please visit my php program Hey everyone, Please visit my captcha program here and tell me if its good or if you think i need to make some changes in text,color or anything. http://bestwebhosters.com/captcha/test.php Reload the page a couple of times and see. Do you think its good enough for most uses or should i add "nonsense words (+ numbers?)" eg: fgsgej,asghdq... instead of the normal words? Thanks for your time and opinion. Cheers, -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#164112) next »