Code: Select all
<?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];
}
?>any idea how to do that???
Moderator: General Moderators
Code: Select all
<?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];
}
?>