I have a project, in which, I need to fetch re captcha, so that user may enter the re-captcha 's string and submit a form re-captcha gives an auth key, which only works for the domain it was issued for. I tried CURLOPT_REFERER and set it to the website's URL in which captcha is displayed. but it doesnt work. it only works on localhost ( which doesnt need any auth key ) is there anyway I can do it ?? is there any way I can manipulate the hostname of the server running script to be set to Source website's hostname ? like if i am running the script from my own server, i-e : mydomain.com/script.php can I make it send the hostname to re-captcha server as sourcedomain.com ?? Please help. I really need help
You can probably modify the php source recaptcha give you, but i bet they check which domain has sent it.
I think you didnt get my point : I said fetch re captcha on my own script's page , so that my client could enter the string and fill up the name password boxes and hit submit only problem is, curl referrer isnt passing the info required by recaptcha.net i put referrer as the SOURCEWEBSITE.com/register , so that , it looks like captcha is being fetched at sourcewebsite.com , but it isnt working, it by some method , finds out exactly who is fetching captcha. so, I need a way to disguise the hostname , thats all it doesnt include installing their library or auth key