'; $fim = '
'; $fp = fsockopen($host, 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)
\n"; } else { $out = "GET /filmes/homem-aranha-3/homem-aranha-3.asp HTTP/1.0\r\n"; $out .= "Host: adorocinema.cidadeinternet.com.br\r\n"; $out .= "Connection: Close\r\n\r\n"; fwrite($fp, $out); while (!feof($fp)) { $temp .= fgets($fp,4096); } fclose ($fp); } $bet = substring_between($temp, $inicio, $fim); $bet2 = substring_between($temp, $inicio, substring_after($bet, $fim)); echo $bet2; ?>