hello,

after accessing users country name,,can i have a php snippet which will convert 20usd automatically to visitor currency ???

Recommended Answers

All 6 Replies

It is not clear to me how you plan to access the user's country name but I assume you have that nailed down. If you do then the next bit involves fetching the currency and current conversion rate for the country in question. Take a look at Open Exchange Rates. There is some work involved but you should be able to get what you need.

they are a bit expensive

Member Avatar for diafol

can i have a php snippet which will convert 20usd automatically to visitor currency ???

and

can u try this out??

You really need to show your code. Otherwise it makes it look as if you expect other people to do your work for you.

no i have posted a queston if someone has a answer and willingness to tell then they can volunteer...

commented: don't be surprised if nobody responds then... -3
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.