nguyenducchung
New member
Dán phần sau ngay sau dấu ngoặc nhọn đang mở cho hàm file_get_html
Tham khảo: https://stackoverflow.com/questions/34303881/ssl-operation-failed-with-code-1-php-simple-html-dom-parser
Thư viện: https://github.com/sunra/php-simple-html-dom-parser
PHP:
$context = stream_context_create(
array(
'http' => array(
'follow_location' => false
),
'ssl' => array(
"verify_peer"=>false,
"verify_peer_name"=>false,
),
)
);
Thư viện: https://github.com/sunra/php-simple-html-dom-parser
Chỉnh sửa lần cuối: