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
file_get_contents alternative ????? Please answer
Moderator: General Moderators
Configure the "other" server to use something like mod_deflate or let the script run there, locally.
Thank you for rhe reply
I wanted to just open the file there and compress that file with my own algorithm(not any zip format etc) which I can say is the best in the world and I created it(I will also have it patented). I was just wondering if I can use mix of cookies, javascript, and PHP.
Anyhow, thank you for the reply. I will keep trying on it and inform you people of any success. Also, if u find any other ways just let me know.
Thank you
Anyhow, thank you for the reply. I will keep trying on it and inform you people of any success. Also, if u find any other ways just let me know.
Thank you