I\'m using CURL to get the status of a site, if it\'s up/down or redirecting to another site. I want to get it as streamlined as possible, but it\'s not working well.
Try PHP's "get_headers" function.
Something along the lines of: