Feedback on: irt.org Home Page, Wednesday December 03, 2008 at 10:43:31
You are here: irt.org | About | Feedback | 5335 [ previous next ]
Feedback on:
irt.org Home Page
Sent by
Mike Landis on Wednesday December 03, 2008 at 10:43:31
Worth:
Very worth reading
Length:
Too short
Technical:
Not technical enough
Comments:
Dear IRT.org,
The more I dig into javascript, the dumber I feel. Maybe you can
help. I've been reading
<http://www.felgall.com/jstip27.htm>,
<http://www.phpcaptcha.org/documentation/quickstart/>,
<http://www.irt.org/script/292.htm>, and a bunch of other pages, but
I'm still not getting the whole picture.
I'm trying to use PHP CAPTCHA in what I think is AJAX mode where
the user stays on the same page if validation fails and <INPUT> text
remains unchanged, but when validation succeeds, the form's action
script executes. Instinct tells me there that must be a way to use
securimage within a Javascript function that you could access through an onclick or onSubmit function.
Part of the problem may be that I don't understand how code like this works:
onclick="document.getElementById('captcha').src =
'/securimage/securimage_show.php?' + Math.random(); return false"
If you look at securimage_show.php, there's no obvious processing of the Query string. How is the argument being captured?
Similarly, if you read securimage's example_form.php, they show the
CAPTCHA image with: <img src="securimage_show.php?sid=<?php echo
md5(uniqid(time())); ?>">. This is a second use of securimage_show.php that seems to be accepting a query string, yet has no visible means of grabbing the 'sid' parameter. How does that
work?
Am I trying to accomplish the impossible? I would really appreciate
a reference for a tutorial on this subject, an example implementation, or just an explanation of how to get the CAPTCHA code (which comes from PHP) and the <INPUT> field value into a javascript function.
Any suggestions?
Thanks, Mike
Other feedback on 'irt.org Home Page' - show all
- irt.org Home Page - Don Barthel January 19, 2009 at 23:07:35
- irt.org Home Page - Andy Atkinson January 18, 2009 at 17:10:17
- irt.org Home Page - Ajith December 23, 2008 at 02:38:40
- irt.org Home Page - V.J December 18, 2008 at 07:40:16
- irt.org Home Page - Mike Landis December 03, 2008 at 10:43:31
- irt.org Home Page - shashank joshi November 15, 2008 at 01:44:42
- irt.org Home Page - doug October 11, 2008 at 18:56:38
- irt.org Home Page - Anjanesh Babu June 16, 2008 at 17:06:27
- irt.org Home Page - John M. April 27, 2008 at 14:21:33
- irt.org Home Page - Paul April 15, 2008 at 22:55:52
- irt.org Home Page - Gary April 02, 2008 at 22:18:01
- irt.org Home Page - James March 16, 2008 at 21:32:19
- irt.org Home Page - vikram saxena February 17, 2008 at 07:09:02
- irt.org Home Page - Melvin Mudgett-Price January 08, 2003 at 13:50:06
- irt.org Home Page - Rick Keenan January 02, 2003 at 20:37:30
- irt.org Home Page - James Booker December 20, 2002 at 05:07:45
- irt.org Home Page - Mike December 19, 2002 at 09:38:39
- irt.org Home Page - Randy December 16, 2002 at 16:26:16
- irt.org Home Page - chuck prezzano November 27, 2002 at 04:55:57
- irt.org Home Page - Susanne September 23, 2002 at 13:05:23
- irt.org Home Page - Mirbind August 29, 2002 at 01:23:39
- irt.org Home Page - Helio Coragem August 10, 2002 at 12:06:49
- irt.org Home Page - Michael Appenzellar July 09, 2002 at 12:56:55
- irt.org Home Page - John Bowling June 27, 2002 at 17:47:20
- irt.org Home Page - Brooklyn Heart May 20, 2002 at 19:05:11
- irt.org Home Page - S Rooks May 13, 2002 at 12:58:55
- irt.org Home Page - April Eversole April 09, 2002 at 08:36:07
- irt.org Home Page - Kirt Clem April 01, 2002 at 17:45:05
- irt.org Home Page - Andy Rockwell March 20, 2002 at 05:53:36
- irt.org Home Page - Rob Butler March 07, 2002 at 17:57:29
- irt.org Home Page - Christopher Amandi February 26, 2002 at 14:00:31
- irt.org Home Page - Hutchy January 11, 2002 at 23:58:39
- irt.org Home Page - Randy Alford December 06, 2001 at 09:12:58
- irt.org Home Page - Kerem Aslan December 06, 2001 at 07:37:06
- irt.org Home Page - Kostas November 23, 2001 at 03:14:06
- irt.org Home Page - Tommy Gibbons September 04, 2001 at 14:32:18
- irt.org Home Page - Edward Tsai August 27, 2001 at 18:50:03
- irt.org Home Page - Chad July 23, 2001 at 15:20:56
- irt.org Home Page - Brian July 22, 2001 at 07:58:24
- irt.org Home Page - Mike May 30, 2001 at 14:41:43
- irt.org Home Page - Antony Raj May 11, 2001 at 16:48:16
- irt.org Home Page - John April 29, 2001 at 18:50:29
- irt.org Home Page - Peter Sumner April 24, 2001 at 07:04:47
- irt.org Home Page - Owen April 09, 2001 at 13:43:50
- irt.org Home Page - Alec Bennett April 09, 2001 at 04:51:31
©2018 Martin Webb