1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?php include("./_common.php");
/*$sql = "select * from mBoard_shopping where uid = '{$uid}' "; $res = mysql_query($sql,$connect_web); $info = mysql_fetch_array($res);*/
$url = "{$domain_temp}/du.php";
$ch = curl_init(); curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,true); curl_setopt($ch,CURLOPT_NOSIGNAL,1); curl_setopt($ch,CURLOPT_POST,1); $data = @curl_exec($ch); $curl_errno = curl_errno($ch); $curl_error = curl_error($ch); if(strlen($data)>10){ $v = "<span style='color:red;'>Error</span>"; } else { $v = $data; }
curl_close($ch);
echo $uid."^".$v; ?>
|