Showing posts with label libcurl. Show all posts
Showing posts with label libcurl. Show all posts

Tuesday, June 5, 2012

PHP - curl_exec hangs


I am having a strange problem with the below php function. Unfortunately this is one of those special "Production only" case.

Friday, May 4, 2012

How do I CURL www.google.com - it keeps redirecting me to .co.uk


I am using CURL to check for the existence of a URL (HEAD request) but when I test it with www.google.com , it redirects me to www.google.co.uk - probably because my server is UK-based.