โดยปัญหาที่แจ้งขึ้นมาคือ
โค้ด: เลือกทั้งหมด
Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /opt/lampp/htdocs/test_tools/tools_exchange_rate/index.php on line 247
Warning: file_get_contents(): Failed to enable crypto in /opt/lampp/htdocs/test_tools/tools_exchange_rate/index.php on line 247
โดคในส่วนทมี่ที่มีการแจ้งปัญหา
โค้ด: เลือกทั้งหมด
if (isset($_POST['g-recaptcha-response'])) {
$response = json_decode(file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=" . $secretkeyrecaptcha . "&response=" . $keyrecaptcha . "&remoteip=" . $_SERVER['REMOTE_ADDR']), true);
?>
<?php
if (!$keyrecaptcha) {
$missinginputsecret = $lang_automatedprogram;
?>
<br><div align="center" class="errorip-color"><b><?php print_r($missinginputsecret) ?></b></div>
<?php
}
}