Nav apraksta

test.php 346B

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