Finding the specific keyword in a webpage using PHP
by guruprasad[ Edit ] 2013-10-23 14:58:15
To Find the specified keyword in a webpage:
$test = file_get_contents('http://www.eluthu.com');
$matchingkeyword = '/Eluthu/';
preg_match($matchingkeyword,$test,$result);
var_dump($result);
echo $result[0];