Navigation :

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




Site Sponsors :

Bookmark :

Links :

finance products
wwwstores
domain names

Downloads :

Misc :

Webmaster Resources
Only PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming

Valid XHTML 1.0 Transitional


Valid CSS!


US population

This script takes the information from the US goverment census page and displays the current US population on the page

<?
$url = "http://www.census.gov/cgi-bin/popclock/index.html";
$fp = fopen($url, "r");
$search = fread($fp, 32000);
fclose($fp);
$search = ereg("<CENTER><H2> (.*)</H2>", $search, $content);
echo "<h2>$content[1]</h2>";
?>