What Is So Hard About Im Sorry? via she's only gone and loveed it recruiting Enggak, stay melek aja nih (_) dari tadi gak tidur? Haha begitu deh stick out tongue RT ": A giant water bug is photographed eating a juvenile turtle in an unusual predatory role reversal." whoa! Thx for following. Don't forget Weird Al 5/28/11, Parks & Recs. Aziz Ansari 6/14. Tickets available Time to link Jane Jacobs theories of urbanism to the ignition & spread of revolutionary moments

I just unlocked the "Local" badge on ! The G Spot!!:!! The Smart Grid: A pioneer green energy project on Jeju island, South Korea Sustainability LivableCities? please tell me you took video...check out our new site for more fabulousness from nyfw St. Thomas's underwater wonders - Travel - The Orange County Register "Jesus came not to condemn, but to reclaim." AW Tozer With Texas A&M in the news, Page 2 Podcast asks: Mas macho: Going to a new conference, or getting concessions to stay?

. tonight's show WILL BE broadcast LIVE here in 10 minutes. basementpeople The New Yorker: Vince Aletti on Mark Morrisroe... see you on New Year's Eve at Stubb's? Psyched to be giving my last talk on visitor participation for foreseeable future. Streaming 9:30am ET Hahah you're cool dude burlew.xgames best whip. Alligator skin visor. potential u hear me ??

Not sure, haven't actually been down there. Luke's shop ok, I think. Test abbywambach has done it again! Awesome goal!! USA The Ballerina Irina Dvorovenko: What I Wore Libya state tv airing what it says is intvs from Zawiya earlier with people saying its "mia mia" & all is good there. Libya Kevin Kelly is doing questions. It's truly a perfect summer day. Me too! I'm not going to read (or re-read) them all. Why do I keep collecting them? /

Flag this photo

Web services allow web site to trade data among various applications and different platforms. They are created using XML to code and to decode data, and SOAP to transport it over the Net (using open up standard protocols). SOAP remains an XML-based protocol to let applications trade information above HTTP. There are two parties to any web service: a service requester (or client) also a service provider (or server). PHP can call some web support also convert currency to the local location where the client yous located.

Difficulty: Moderately Challenging


Things You'll Need


Suggest Edits

1 Open a text editor, like whereas Notepad.

function convertcurrency($amount)

if ( isset($geoPlugin_array['geoplugin_currencyCode']) && $geoPlugin_array['geoplugin_currencyCode'] = 'USD' )

return '(' . $geoPlugin_array['geoplugin_currencySymbol'] . round( ($quantity * $geoPlugin_array['geoplugin_currencyConverter']),2) . ')';

return false;

4 Add code to call the web service provider, GeoPlugin? :

$geoPlugin_array = unserialize( file_get_contents('http://www.geoplugin.net/php.gp?base_currency=GBP&ip=' . $_SERVER['REMOTE_ADDR']) );

Set the variable "base_currency," which will define what currency you are converting away from. The plugin will become the IP address of your computer, which will tell it where your computer is located also convert to your local currency.

5 Add code to call the purpose plus to change the currency:

echo '

The product costs
Topic revision: r1 - 16 Nov 2011 - 01:22:08 - EmilyCurrie5
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback