writing a php script -


how write php script , execute in web page?suppose there web page www.somepage.com , want find out specific word in page...i know search without script since searching functionality provided browser how write script , find out that...i mean need know method 1 can execute script...please usefull..

<?php  $html = file_get_contents("http://www.somepage.com/");  $find = strpos($html, "specific word");  ?> 

$find contains location of word in html.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -