Advertisement
Guest User

php : how to get any website content online php trick code

a guest
Dec 28th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. <?
  2.  
  3. $sUrl = 'http://www.linktopage.com/login/';
  4. $params = array('http' => array(
  5. 'method' => 'POST',
  6. 'content' => 'username=admin195&password=d123456789'
  7. ));
  8.  
  9. $ctx = stream_context_create($params);
  10. $fp = @fopen($sUrl, 'rb', false, $ctx);
  11. if (!$fp)
  12. {
  13. throw new Ex......................
  14. .................................
  15. for the full code download here : https://www.up-4ever.com/4x7wirp8j7xc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement