Advertisement
Guest User

Untitled

a guest
Nov 25th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <form>
  2. <div style="text-align:center;background: #f3f3f3;padding: 40px 40px 50px;margin:-10px;border-bottom:5px solid #ccc;">
  3. <span class="spam1"><a href="http://westhost.com.br/teste/index2.php"> REINICIAR</a></span>
  4. <td> <input style="height:50px;" type="text" name="clientid" />
  5. <input class="submit" type="submit" name="Pesquisar" value="Pesquisar ID"></td>
  6. </div>
  7. </form>
  8.  
  9.  
  10. <?php
  11. if(isset($_GET['Pesquisar'])){ /* A ação só será executada após clicar no botão Submit */
  12.  
  13.  
  14. $url = "https://westhost.com.br/painel/includes/api.php"; # URL to WHMCS API file goes here
  15. $username = "root"; # Admin username goes here
  16. $password = "asdsadsadsa"; # Admin password goes here
  17.  
  18. $postfields = array();
  19. $postfields["username"] = $username;
  20. $postfields["password"] = md5($password);
  21. $postfields["action"] = "getclients";
  22. //$postfields["clientid"] = "297";
  23. $postfields["stats"] = true;
  24. $postfields["responsetype"] = "xml";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement