Web Hosting Talk







View Full Version : Simple captcha [PHP]


sasha
11-27-2006, 10:29 AM
Here is small php captcha app: http://tnt.goldnet.ca/captcha/

I would appreciate browser test to make sure the sound plays when you click on the speaker icon. If it does not or if it misbehaves in some way, please do let me know.

This is just a "proof of concept" and actual implementation would need some changes.

To join mp3 sounds I used mp3wrap utility from http://mp3wrap.sourceforge.net/ with slight modifications to remove some unnecessary id3 stuff.

Here is the source:
http://tnt.goldnet.ca/captcha/captcha.tar.gz

Here is modified mp3wrap:
http://tnt.goldnet.ca/captcha/mp3wrap-0.5.src.moded.tar.gz

BeZazz
11-27-2006, 10:51 AM
it didnt work for me with Firefox 1.5.0.7 on Suse 10.1
i tried quite a few times (refresh and F5)

sasha
11-27-2006, 12:23 PM
it didnt work for me with Firefox 1.5.0.7 on Suse 10.1
i tried quite a few times (refresh and F5)

What do you use for mp3 plugin?
With firefox 1.5.0.7 and 2.0 and mplayerplug-in works just fine here

BeZazz
11-27-2006, 01:44 PM
mplayerplug-in 3.25

sasha
11-27-2006, 01:49 PM
mplayerplug-in 3.25

Thanks for checking. It is odd I have the same here and it works. Any chance your sound is muted :)

BeZazz
11-27-2006, 02:00 PM
no i checked all that already, i am currently reinstallling the plugin

sasha
11-27-2006, 02:05 PM
no i checked all that already, i am currently reinstallling the plugin

Please do not waste too much time on this. It was just something i put together and thought i would share it. Maybe someone else downloads it who has more time / energy to improve it.

BeZazz
11-27-2006, 02:13 PM
it still didnt work so i changed it to use realplayer and it didnt work either, its 5am here so it prob something at my end

sasha
12-01-2006, 09:37 AM
I updated script in the original post and add examples of suing custom font and changing direction of characters. From here on, only limit is your imagination.