Your Ad Here

 Navigation
Home
Source code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links




 Sponsors
 Links
wwwstores
golfing products
dropshippers
 Downloads
 Misc
Webmaster Resources
Only PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming

Valid XHTML 1.0 Transitional


Valid CSS!


Onion Headlines


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

    




Books
 Sponsors
 Random Code
Dynamic title tags(Wordpress)
Reading RSS feeds with PEAR xml_rss package(pear)
Status code of a web pagewith PHP and cURL(internet)
 Random Article
  Network
Programming resources
Tutorials directory
Hosting resources
ASP site
Domain names
Progged
Maxi directory
bigarticle : free articles
A Code
Code N Tutorials




beginners PHP Copyright © 2004 onwards by beginnersPHP.