It's a one file php script that takes three inputs FROM + TO + AMOUNT and it returns the converted currency to the user in json format. You can customize it the way you want. You can remove this Json encode and use it wherever you want. Here's a sample conversion request converter.php?from=USD&to=PKR&amount=800&type=json