Advertisement
Guest User

Untitled

a guest
Sep 30th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. include_once('simple_html_dom.php');
  2. $file_token = str_get_html($response);
  3. $tokenid = $file_token->find('input#hash_9e879c117c');
  4. echo $tokenid->value;
  5.  
  6. $doc = new DOMDocument();
  7. $doc->loadHTML($response);
  8. $token = $doc->getElementById("hash_9e879c117c")->attributes->getNamedItem("value")->value;
  9.  
  10. <input name="hash_9e879c117c" id="hash_9e879c117c" value="692ad23ba417d18d132897584fdaa042ff66d421" type="hidden">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement