This is my php script:
<?php
header("Content-Type: text/plain");
$context = stream_context_create(
array(
"http" => array(
"header" => "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36"
)
)
);
$website = $_GET["URL"];
$html = file_get_contents($website, false, $context);
echo $html;
?>
PHP:
Website crawling...
from Programming https://ift.tt/2AfdhAt
via IFTTT

0 Comments