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