Navigation :
HomeSource code
Tutorials
RSS feeds
Articles
Wordpress plugins
Books
Sample Chapters
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links
Site Sponsors :
Bookmark :
Links :
dvd informationgolfing products
software directory
Downloads :
dzphp editorEasyPHP
mysql_phpgenerator
php-studio-trial
phpdesigner_7_2_5
phpMyAdmin-3.4.3.2
/phptriad2-2-1
phpxedit_321
rapidphp 2011
WampServer2.1d-x64
WampServer2.1e-x32
xampp-win32-1.7.4-VC6-installer
xampplite-win32-1.7.3
Misc :
Webmaster ResourcesOnly PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming
Currency convertor
This is a currency convertor which allows a user to get the latest currency conversions from Yahoo
<?
//our currencies
$currency = array("Yen","US Dollars","German mark","french franc","Australian dollar");
//the various URLS for the currency conversions
$conv[0]=file('http://quote.yahoo.com/m5?a=1&s=GBP&t=JPY&c=0');
$conv[1]=file('http://quote.yahoo.com/m5?a=1&s=GBP&t=USD&c=0');
$conv[2]=file('http://quote.yahoo.com/m5?a=1&s=GBP&t=DEM&c=0');
$conv[3]=file('http://quote.yahoo.com/m5?a=1&s=GBP&t=FRF&c=0');
$conv[4]=file('http://quote.yahoo.com/m5?a=1&s=GBP&t=AUD&c=0');
//loop through results
for($i=0; $i<sizeof($conv); $i++)
{
$conv[$i] = join("",$conv[$i]);
//parse out the relevant information
$conv[$i] = ereg_replace(".*<table border=1 cellpadding=2 cellspacing=0>",'',$conv[$i]);
$conv[$i] = ereg_replace("</table>.*",'',$conv[$i]);
$conv[$i] = ereg_replace("</b>.*",'',$conv[$i]);
$conv[$i] = ereg_replace(".*<b>",'',$conv[$i]);
//display results
echo "1 Pound(£) = ".$conv[$i]." ".$currency[$i]."<br>\n";
}
?>
Books :
Sponsors :
Random Code :
Display when a page was last modified(date and time)display html source with line numbers(internet)
Getting the length of a string(string)
Random Article :
PHP RedirectPHP is 10 years old
Network:
Programming resourcesTutorials directory
Hosting resources
ASP site
Domain names
Progged
Maxi directory
bigarticle : free articles
A Code
Code N Tutorials
Get PHP
Programmers help
Del.icio.us
Digg
Furl
Newsvine
Netscape
Reddit
StumbleUpon
Technorati
Squidoo
Windows Live
Yahoo MyWeb
Ask
Google

