file_get_contents alternative ????? Please answer
Posted: Tue May 15, 2007 9:58 pm
I am using file_get_contents to download HTML file from a website(s), but some of them are big and in that process I am wasting my bandwidth. I want to know that how do I open a HTML file remotely on that server itself without downloading it on my system?
Then I have an algorithm to compress the code file there itself.
And then how do I download that compressed file (which I will probably store in a variable) to my system. This way I will make my download consume lesser bandwidth.
Please answer my two questions. Thank you
Then I have an algorithm to compress the code file there itself.
And then how do I download that compressed file (which I will probably store in a variable) to my system. This way I will make my download consume lesser bandwidth.
Please answer my two questions. Thank you