- file_get_contents: documentation ( source)
- str_replace: documentation ( source)
<?php
//Save the imgur homepage as a variable
$result = file_get_contents("http://www.imgur.com");
//Replace every occurance of the word "sign" with "Tater"
$result = str_replace("sign","Tater",$result);
//Output the result
echo $result;
?>