Anybody Managed To get The Correct Image With api-secure.recaptcha.net?

gimme4free

Elite Member
Joined
Oct 22, 2008
Messages
1,935
Reaction score
1,989
My usual way of getting the images from Recaptcha is by:

PHP:
$challenge = $site_recaptcha_key."&ajax=1&xcachestop=".$cachestop."&".$extra_challenge_params;
$challenge_url = "http://api.recaptcha.net/challenge?k=".$challenge;
$challenge_field = get_string_between($content,"challenge : '","'");
$image_url = "http://api.recaptcha.net/image?c=".$challenge_field;

Now I have come across a site that uses api-secure.recaptcha.net and the same procedure doesn't work with the new URL yet the same browser actions are made & I cannot figure out for the life of me how to get the correct image to post onto Decaptcher.

Anybody successfully getting the correct data + images from Recaptcha within PHP / Non JS environment?
 
Last edited:
If it is using the api-secure.recaptcha.net have you used:

Code:
$image_url = [URL]https://api-secure.recaptcha.net/image?c=" . $challenge_field;[/URL]

The address should be the right one for secure recaptcha, but I can't find a working example to confirm the parameters are correct. If this doesn't work and you pm me a link to a sample site that has it working I can confirm it for you.
 
Back
Top