Chào mừng!

Bằng cách đăng ký với chúng tôi, bạn sẽ có thể thảo luận, chia sẻ và nhắn tin riêng tư với các thành viên khác trong cộng đồng của chúng tôi.

Đăng ký ngay!
  • Chào Khách,
    Bạn cần liên hệ với admin ??? ZALO & TELEGRAM

Cần giúp muốn get cái này trên web làm sao nhỉ ae

Duy Khang

Premium
Tham gia
13/11/18
Bài viết
640
Lượt Thích
115
Coins
27,300
PHP:
$data = json_decode(file_get_contents('https://zoohuy.ga/api_key/check_key.php?key=123'), true);
$status = $data['status'];
$create = $data['create'];
ý bạn là cái này à
 
Tham gia
21/2/22
Bài viết
63
Lượt Thích
339
Coins
5,440
Phải dùng method POST nhé.

Mã:
function cURL($url) {
    $curl = curl_init();
    curl_setopt_array($curl, array(
        CURLOPT_URL => $url,
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_SSL_VERIFYPEER => false,
        CURLOPT_CUSTOMREQUEST => "POST"
    ));

    $response = curl_exec($curl);
    curl_close($curl);

    return $response;
}

$result = json_decode(cURL("https://zoohuy.ga/api_key/check_key.php?key=123"), true);
//print_r($result);

foreach ($result as $resultKey => $resultValue) {
    echo ($resultKey.": ".$resultValue."<br>");
}
// Output
status: success
create: 11:01:44 17-03-2022
end: 11:01:44 10-12-2024
name: ngủ
ip: 103.98.149.237
 
Sửa lần cuối:
Top Bottom
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock
No Thanks