Onion Headlines
This is a very funny site which has news items which are based on tabloid newspapers rather dubious stories
Here is the script
<?php
$url = "http://mobile.theonion.com/index.html";
$fp = fopen($url , "r");
$headlines = fread($fp, 32000);
fclose($fp);
$headlines = ereg(" * This Week's Top Stories *(.*)",$headlines , $content);
echo ("<pre>$content[1]</pre>");
?>
</p>
and here is the output
|