test.php 334 B

1234567891011121314
  1. <?php
  2. include "TopSdk.php";
  3. date_default_timezone_set('Asia/Shanghai');
  4. $c = new TopClient;
  5. $c->appkey = '***********';
  6. $c->secretKey = '*****************';
  7. $req = new HttpdnsGetRequest;
  8. $req->putOtherTextParam("name","test");
  9. $req->putOtherTextParam("value",0);
  10. var_dump($c->execute($req));
  11. ?>