flash + recaptcha
Moderator: General Moderators
-
thosecars82
- Forum Commoner
- Posts: 94
- Joined: Thu Apr 03, 2008 6:31 am
- Location: Arganda, Madrid
- Contact:
flash + recaptcha
hello there
I know how to include a recaptcha in a html or php web page but I don't know how to include a recaptcha in a flash web page. I just thought of calling geturl from as2 flash8 for calling a php that holded the recaptcha
After that, the php script might create a file with a content which indicated success or failure depending on the result of the recaptcha.
Then, after calling geturl in flash, I would call sendandload of a loadvars object for calling a second php script which would be in a loop until it found the file writen by the first php script which holded the recaptcha. The loop would end by reading the file written by the first php script and seeing whether the content is success or failure. Then it would send the result back to flash through the loadvars. Then flash could continue the execution flow depending on the result of the recaptcha.
This is the only solution which came to my mind but it does not seem straightforward to me. Does anyone have any other better solution to include a recaptcha for a website developed with flash?
Thanks in advance
I know how to include a recaptcha in a html or php web page but I don't know how to include a recaptcha in a flash web page. I just thought of calling geturl from as2 flash8 for calling a php that holded the recaptcha
After that, the php script might create a file with a content which indicated success or failure depending on the result of the recaptcha.
Then, after calling geturl in flash, I would call sendandload of a loadvars object for calling a second php script which would be in a loop until it found the file writen by the first php script which holded the recaptcha. The loop would end by reading the file written by the first php script and seeing whether the content is success or failure. Then it would send the result back to flash through the loadvars. Then flash could continue the execution flow depending on the result of the recaptcha.
This is the only solution which came to my mind but it does not seem straightforward to me. Does anyone have any other better solution to include a recaptcha for a website developed with flash?
Thanks in advance
-
SomeoneE1se
- Forum Newbie
- Posts: 20
- Joined: Sat May 31, 2008 2:53 am
Re: flash + recaptcha
are you trying to add a captcha to a flash site or a flash.swf?
-
thosecars82
- Forum Commoner
- Posts: 94
- Joined: Thu Apr 03, 2008 6:31 am
- Location: Arganda, Madrid
- Contact:
Re: flash + recaptcha
to a flash siteSomeoneE1se wrote:are you trying to add a captcha to a flash site or a flash.swf?
-
SomeoneE1se
- Forum Newbie
- Posts: 20
- Joined: Sat May 31, 2008 2:53 am
Re: flash + recaptcha
and you can't just add it like a normal captcha?
and just to be sure, you're talking about a site that uses mostly flash but is created in html, and not a site that is just one big flash .swf right?
and just to be sure, you're talking about a site that uses mostly flash but is created in html, and not a site that is just one big flash .swf right?
-
thosecars82
- Forum Commoner
- Posts: 94
- Joined: Thu Apr 03, 2008 6:31 am
- Location: Arganda, Madrid
- Contact:
Re: flash + recaptcha
actually this site has an html page with an object tag which contains a big home.swf file. This swf file has the whole content of the site.
-
SomeoneE1se
- Forum Newbie
- Posts: 20
- Joined: Sat May 31, 2008 2:53 am
Re: flash + recaptcha
so you want the captcha to be under(above) home.swf or inside the home.swf?
-
thosecars82
- Forum Commoner
- Posts: 94
- Joined: Thu Apr 03, 2008 6:31 am
- Location: Arganda, Madrid
- Contact:
Re: flash + recaptcha
inside
-
SomeoneE1se
- Forum Newbie
- Posts: 20
- Joined: Sat May 31, 2008 2:53 am
Re: flash + recaptcha
have you already had a problem with spam bots?
flash is hidden to most bots out there.
flash is hidden to most bots out there.
-
thosecars82
- Forum Commoner
- Posts: 94
- Joined: Thu Apr 03, 2008 6:31 am
- Location: Arganda, Madrid
- Contact:
Re: flash + recaptcha
No, I haven't, at least yet. So thank you, because I did not know it was not likely that a bot got this kind of data.