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.
|
<?php |
|
include '../functions.php'; |
|
|
|
$url = $_REQUEST['url']; |
|
|
|
if(!isset($url)) die(); |
|
|
|
$conn = db__connect(); |
|
|
|
if(!db__rowNum($conn, "video", "url", $url)) { |
|
die(); |
|
} |
|
|
|
|
|
$res = db__getData($conn, "video", "url", $url); |
|
|
|
|
|
echo json_encode($res[0]);
|
|
|