I'm trying to get (with PHP) data from a remote text file. The URL of the file is website.com/page.php?info=someinfo. So it's not a .txt file, I don't know if that matters. The whole contents of the page are text, however. When looking at the source, there is no HTML, only plain text.
I've been trying to get the data using fopen() and fread(), and file_get_contents. However, both methods give me a screen filled with "404, object not found" errors, placed all over the place. Does anyone know how to solve this?
Thanks,