thosecars82
06-28-2008, 01:23 PM
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