jamesxg1 Posted July 22, 2009 Author Share Posted July 22, 2009 Regarding this line here, curl_setopt($connect, CURLOPT_RETURNTRANSFER, 1); if i change it to 0 it get the google chaptcha screen print with this at the top HTTP/1.1 302 Found Cache-Control: private Location: http://sorry.google.com/sorry/?continue=http://maps.google.co.uk/maps%3Ff%3Dq%26source%3Ds_q%26hl%3Den%26geocode%3D%26q%3Dindian%2Btakeaways%2Bin%2Bberkshire%26sll%3D53.800651,-4.064941%26sspn%3D12.657515,28.256836%26ie%3DUTF8%26view%3Dtext%26ei%3D5-tmSqSDHZDBjAfBu_S5BQ%26attrid%3D%26oi%3Dlocalspell%26ct%3Dclnk%26cd%3D1%26start%3D0 Content-Type: text/html; charset=UTF-8 Content-Length: 530 Date: Wed, 22 Jul 2009 11:10:15 GMT Server: GFE/2.0 HTTP/1.1 302 Found Location: http://www.google.co.uk/sorry/?continue=http://maps.google.co.uk/maps%3Ff%3Dq%26source%3Ds_q%26hl%3Den%26geocode%3D%26q%3Dindian%2Btakeaways%2Bin%2Bberkshire%26sll%3D53.800651,-4.064941%26sspn%3D12.657515,28.256836%26ie%3DUTF8%26view%3Dtext%26ei%3D5-tmSqSDHZDBjAfBu_S5BQ%26attrid%3D%26oi%3Dlocalspell%26ct%3Dclnk%26cd%3D1%26start%3D0 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Date: Wed, 22 Jul 2009 11:10:16 GMT Content-Type: text/html; charset=UTF-8 Server: GCS/1.0 Content-Length: 530 HTTP/1.1 503 Service Unavailable Set-Cookie: S=sorry=oed2Q9ONVKOnjhaJhtCFHg; path=/; domain=google.co.uk Date: Wed, 22 Jul 2009 11:10:16 GMT Pragma: no-cache Expires: Fri, 01 Jan 1990 00:00:00 GMT Cache-Control: no-cache, must-revalidate Content-Type: text/html Server: GCS/1.0 Content-Length: 2947  But when it is set to 1 nothing is returned any idea why ? James. Quote Link to comment https://forums.phpfreaks.com/topic/166845-was-working-but-suddely-dont/page/2/#findComment-880230 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.