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.
13 lines
388 B
13 lines
388 B
5 years ago
|
<?php
|
||
|
include '../../../functions.php';
|
||
|
header('Access-Control-Allow-Origin:*');
|
||
|
|
||
|
|
||
|
$res = db__getData(db__connect("yulu"), "yulu", "wid", mt_rand(1,42));
|
||
|
|
||
|
echo json_encode(array("s" => $res[0]['words']));
|
||
|
|
||
|
yimian__log("log_api", array("api" => "words", "timestamp" => date('Y-m-d H:i:s', time()), "ip" => ip2long(get_ip()), "_from" => get_from(), "content" => $res[0]['words']));
|
||
|
|
||
|
|
||
|
die();
|