Below, the results of each connection, as requested :
Code: Select all
/* -----------------------------------------------------------------------*/
//var_dump(curl_test('https://cmsimplexh.webdesign-keil.de/ ')); //no longer exists //string(30) "6 - Couldn't resolve host name"
//var_dump(curl_test('https://www.soluxiane.fr/ ')); //array(37) { ["url"]=> string(26) "https://www.soluxiane.fr/ " ["content_type"]=> string(9) "text/html" ["http_code"]=> int(400) ["header_size"]=> int(116) ["request_size"]=> int(93) ["filetime"]=> int(-1) ["ssl_verify_result"]=> int(0) ["redirect_count"]=> int(0) ["total_time"]=> float(0.026572) ["namelookup_time"]=> float(0.02173) ["connect_time"]=> float(0.02242) ["pretransfer_time"]=> float(0.025635) ["size_upload"]=> float(0) ["size_download"]=> float(154) ["speed_download"]=> float(5923) ["speed_upload"]=> float(0) ["download_content_length"]=> float(154) ["upload_content_length"]=> float(-1) ["starttransfer_time"]=> float(0.026396) ["redirect_time"]=> float(0) ["redirect_url"]=> string(0) "" ["primary_ip"]=> string(13) "213.186.33.87" ["certinfo"]=> array(0) { } ["primary_port"]=> int(443) ["local_ip"]=> string(10) "10.20.22.5" ["local_port"]=> int(52576) ["http_version"]=> int(3) ["protocol"]=> int(2) ["ssl_verifyresult"]=> int(0) ["scheme"]=> string(5) "HTTPS" ["appconnect_time_us"]=> int(25418) ["connect_time_us"]=> int(22420) ["namelookup_time_us"]=> int(21730) ["pretransfer_time_us"]=> int(25635) ["redirect_time_us"]=> int(0) ["starttransfer_time_us"]=> int(26396) ["total_time_us"]=> int(26572) }
//var_dump(curl_test('http://www.securite-routiere.gouv.fr/ ')); //string(50) "52 - Server returned nothing (no headers, no data)"
//var_dump(curl_test('https://www.haute-savoie.gouv.fr/ ')); //string(45) "92 - Stream error in the HTTP/2 framing layer"
var_dump(curl_test('http://www.ain.gouv.fr/ ')); //string(50) "52 - Server returned nothing (no headers, no data)"