houxiao
2017-08-16 a188ad2e23ef190c8a044b17bc467fa3e2ae0ca5
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html>  
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
</head>
    <body>  
    <?php  
      // dl("proxy.so");
      //phpinfo();
       $AnaylserIP="124.205.246.90";
       $user="supervisor";
       $pass="supervisor";
       $Channel=0;
       
       $s_year=2016;
       $s_month=12;
       $s_day=7;
       $s_hour=8;
       $s_min=0;       
       $s_sec=0;
       
       $e_year=2016;
       $e_month=12;
       $e_day=8;
       $e_hour=10;
       $e_min=10;
       $e_sec=0;
       $result=-100;
       
       $RestartKind=1;
       $no=1;
      $deviceresult=GetDeviceInfo($AnaylserIP);
      
        echo "deviceresult=".$deviceresult;                  
       $searchresult=GetAnalyserAll();    
       echo "<br>"; 
        echo "<br>"; 
        echo "<br>"; 
         echo "<br>"; 
         echo "searchresult=".$searchresult;          
       //$deleteresult=DeleteAnalyser("124.205.246.95");                                                                                                    //8.删除设备   参数:设备ip    返回:成功或失败的提示。
         echo "<br>"; 
           echo "<br>"; 
             echo "<br>"; 
         echo "deleteresult=".$deleteresult;          
         echo "<br>"; 
       //$insertresult=InsertAnalyser("bioofly","124.205.246.95","52","192.168.1.8","5005","jkm","12345","10000","TCP");       
       echo "insertresult=".$insertresult;          
        echo "<br>"; 
        //$result=GetConnectState($AnaylserIP);
        echo "result1=".$result;          
        echo "<br>"; 
        //$result=RestartAnalyser($AnaylserIP,$user,$pass,$RestartKind,$no);
        echo "result2=".$result;          
        echo "<br>"; 
        //$result=RealEventStart($AnaylserIP,$user,$pass);
        echo "result3=".$result; 
        //sleep(10);         
        echo "<br>"; 
       $result8=GetRealEvent($AnaylserIP);//?       
        echo "result4=".$result8;          
        echo "<br>"; 
        //$result=RealEventStop($AnaylserIP); 
        echo "result5=".$result;          
        echo "<br>";         
        $result=GetPHPSearchMetaInfo($AnaylserIP,$user,$pass,$Channel,$s_year,$s_month,$s_day,$s_hour,$s_min,$s_sec,$e_year,$e_month,$e_day,$e_hour,$e_min,$e_sec);   
        echo "result6=".$result;            
      //  echo "result6=".$result;            
    ?>  
    </body>  
    </html>