Jump to content

how to seach the whole website?


vin_akleh

Recommended Posts

this is a code that gets the link of the video from a website of one page

<?php
$html = file_get_contents('http://test.com/movie.php?id=7333');
if (preg_match('/<param name="movie".*/', $html, $matches)) {
  echo "1- Match was found <br />";
  echo $matches[0];
}
?>

i would like to make it search such contents from the whole website test.com not just test.com/movie.php?id=7333

any idea how to do that???

Link to comment
https://forums.phpfreaks.com/topic/230998-how-to-seach-the-whole-website/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.