I want to read a url, like Google, and modify the HTML tag value.
$homepage = file_get_contents('http://www.google.com');
echo $homepage;
For example, after read google link, I want set the google search box value to
hello word
, something like <input type='text' value='hello world'/>
Then display the modified page.
How to do this in php, thank you very much