Config.php needs PHP tags
Most servers will send the source code and expose mysql info if you d…
…on't specify PHP tags !
Save a lot of bandwidth by only doing a HEAD (header only).
Curl handler in curl_close was incorrect.
Die will close curl so we don't have to worry about having curl_close before that.
safer and keeps people from entering invalid urls.
Closing PHP tags is a bad idea because it may cause the PHP file to incorrectly send output to the browser