Get variable from file on server
I remember a while ago I got a piece of code of the internet. Using iNet (not Winsock), what it did was it accessed a text file on the internet, and got 3 variables from it, all integers.
I've lost it, but I want to do the same thing. I've seen a lot of tutorials that use ports and all this other strData stuff, but I don't want that. The code I had was only 4-5 lines, really simple, basically it just connected to a URL, maybe www.server.com/textfile.txt and got the variables, no FTP or anything like that.
Could you show me some code that is simple and does that?