Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A script to check the USA's Homeland Security threat level' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to check the USA's Homeland Security threat level
Authored by: prk on Jan 16, '04 02:59:59PM
Here is a quicky PHP script for your home page:

<?php
$threat = eregi_replace('.*CONDITION="(.*)" />', '\1', implode('\n', file("http://www.dhs.gov/dhspublic/getAdvisoryCondition")));
print "Homeland Security Threat Leval: $threat.";
?>


[ Reply to This | # ]