mirror of https://github.com/IoTcat/TPlayer.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
257 B
14 lines
257 B
5 years ago
|
<?php
|
||
|
include '../../functions.php';
|
||
|
|
||
|
$fp=$_REQUEST['fp'];
|
||
|
$code=$_REQUEST['code'];
|
||
|
|
||
|
|
||
|
$conn=db__connect();
|
||
|
|
||
|
$res=db__getData($conn,"tp_host","code",$code);
|
||
|
|
||
|
if($res[0]['fp']==$fp) echo json_encode(array("code"=>1));
|
||
|
else echo json_encode(array("code"=>0));
|