View Full Version : Simple Captcha
ErsinAcar
Jun 8th 2007, 12:11 pm
developed by me :p
Sample;
http://img515.imageshack.us/img515/8634/gdab3.jpg
Usage;
<img src="imgcode.php">
Download;
http://rollonvideo.com/GD.zip
Enjoy.
calidude
Jun 8th 2007, 12:32 pm
Been looking for a captcha script, thanks! :D
nico_swd
Jun 8th 2007, 12:45 pm
Will not work if cookies are disabled.
Will fail on a Windows servers if the random number is 3.
Will not work if short tags are disabled in php.ini
What's the purpose of the variable $yardir in index.php?
Other than that's it's nice. A bit spammy though.
decepti0n
Jun 8th 2007, 12:53 pm
http://img118.imageshack.us/img118/1748/macroncwh2.png
Cleaner than the one i made just a few hours ago :| lol
ErsinAcar
Jun 8th 2007, 2:23 pm
Will not work if cookies are disabled.
Will fail on a Windows servers if the random number is 3.
Will not work if short tags are disabled in php.ini
What's the purpose of the variable $yardir in index.php?
Other than that's it's nice. A bit spammy though.
It's working.
3.TTF chage file extension to ttf (lower)
You can enable :)
it's control variable for form submit and index.php a sample you can write your own form and script.
http://img118.imageshack.us/img118/1748/macroncwh2.png
Cleaner than the one i made just a few hours ago :| lol
Nice work ^^
nico_swd
Jun 8th 2007, 3:43 pm
It's working.
3.TTF chage file extension to ttf (lower)
You can enable :)
it's control variable for form submit and index.php a sample you can write your own form and script.
^
Of course can you enable, but not everyone has access to the php.ini file, or can change values there. I'm just pointing out a few things that could be done better, so it works on any host without changing the configuration. :)
This is just one of a few things you should keep in mind when you write public scripts. Always try to write it in a way that it works for everyone.
ansi
Jun 8th 2007, 5:59 pm
Of course can you enable, but not everyone has access to the php.ini file, or can change values there. I'm just pointing out a few things that could be done better, so it works on any host without changing the configuration. :)
This is just one of a few things you should keep in mind when you write public scripts. Always try to write it in a way that it works for everyone.
i couldn't have said it better myself. if you intend on writing and releasing a script you need to make sure that it's scalable across as many configurations as possible. short tags are nice and everything but i wouldn't recommend using them in scripts that are to be released into the public domain. as for the captcha itself, not bad.
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.