3
嘿,我試圖讓URL的頭信息,get_headers():SSL操作失敗,代碼1
當我使用的協議HTTP它的做工精細,但是當我使用https它不工作
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
Warning: get_headers(): Failed to enable crypto in
Warning: get_headers(https://200.35.78.130/): failed to open stream: operation failed in/
這是我的代碼
print_r(get_headers("https://200.35.78.130/", 1));
感謝,它的工作;) –
該死的,5分鐘,讓你所需要的答案 - 這是令人印象深刻。 –