SHARE
TWEET

Untitled

a guest Apr 29th, 2017 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>BENVENUTO</title>
  5. </head>
  6. <form action="roba.php" method="post">
  7. <input type ="submit" value="submit">
  8. </form>
  9.  
  10. </html>
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. <? header("Content-Type: text/html; charset=UTF-8"); ?>
  20. <?php
  21.  
  22. require_once("webServiceApi-1.php");
  23.  
  24.  
  25. $wsc = new WebserviceClient("https://localhost:8888",$username= "annaf",$password="restful92");
  26. //$blabla = $wsc->register();
  27. //echo $blabla;
  28. $blable = $wsc->login();
  29. echo $blable;
  30. $blabli=$wsc->exec_train16();
  31. echo $blabli;
  32. $text="Secondo me รจ una bella giornata";
  33. $frase=json_encode($text);
  34. $blablo = $wsc->get_text_classification($frase);
  35. echo $blablo;
  36. $blablu=$wsc->logout();
  37. echo $blablu;
  38.  
  39.  
  40. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top