wangy 发表于 2021-6-20 21:55:15

【PHP教程】获取QQ等级

<?php header("Content-type: text/html; charset=utf-8"); $key=$_GET["msg"]; $a1=file_get_contents("https://api.1314zf.com/qqdengji.php?qq=$key"); preg_match_all("/dengji\":\"(.*?)\"/",$a1,$j); $s=$j; if ($s=="1"){ echo 'LV:'.$s.'⭐'; } else if ($s=="2"){ echo 'LV:'.$s.'⭐⭐'; } else if ($s=="3"){ echo 'LV:'.$s.'⭐⭐⭐'; } else if ($s=="4"){ echo 'LV:'.$s.'
页: [1]
查看完整版本: 【PHP教程】获取QQ等级