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

mod rewrite - Doing external redirect. .htaccess NS flag not working. How to achieve similar results? -

mysql - How to insert just year and month into date field? -