PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm currently doing a program which may need to obtain real time updates on exchange rates from a certain reliable website. I know it can be done in java using openConnection() and stuff..is there a way to do it using php?
thanx for the reply...but i'm kinda new in this...
i can't seem to get it to work...i tried file_get_contents, fopen...etc
but the $handle which fopen returns seems to be false..
this is the website i'm trying to read..."http://www.dbs.com/ratesonline/fxbra.html"
Basically i've to read the html source of this webby into a string...
den extract what i need from it.
the extraction part should be fine...i just need to read the html source from that webby into a string...
Thanks once again
Jeslyn wrote:thanx for the reply...but i'm kinda new in this...
i can't seem to get it to work...i tried file_get_contents, fopen...etc
but the $handle which fopen returns seems to be false..
this is the website i'm trying to read..."http://www.dbs.com/ratesonline/fxbra.html"
Basically i've to read the html source of this webby into a string...
den extract what i need from it.
the extraction part should be fine...i just need to read the html source from that webby into a string...
Thanks once again
after seeing this question asked about once a day i think there should be a sticky post about getting a websites content then using preg to get what you want so hopefully this question dosnt come up so often