Jump to content

how to get the content of an url and put it in a variable


johnwayne77

Recommended Posts

i am trying to make a currency converter script. i have access to a good rss currency file.

this is what I am trying to do:

[b]go to url: http://www.infovalutar.ro/2007/1/17/USD.bnr , where <2007/1/17> would change everyday automatically so it will fetch the updated value of the currency.

get what is shown on the USD.bnr page -- which is a text line -- and put it in a variable ($usdvalue)[/b]

after that I believe I'll manage on my own with the mathematical calculations and what would be needed for completing the script.

thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.