0

Hello

I am develop script for upload/download files on server.
I am create simply php file: donload.php for download image to user and log statistics of downloading. It is very simply file but it take much server resources (memory). How i can reduce it?

Kind regards,
Dmitry

4
Contributors
3
Replies
4
Views
11 Years
Discussion Span
Last Post by loanskey
0

The skript is taking too much space or the files are taking too much space. If its the files, there may be a method to install a script for compression, but that is your only hope. If you are writing for a file server, your ONLY bet is to have your own server that you are running. Otherwise its just too expensive to do with web hosters.

0

how are you keeping track of the statistics?
MySQL? (on a different host? maybe to complicated a query?)

or are you physically accessing a file and updating it (does it belong to apache, you? are you accessing it via ftp?)

how often is the file typically accessed?

answer these questions and we might be able to help more

0

Well this is difficult to tell you the all those stuff without looking at the script. One can tell you that only after seeing the script.

My advice to you is you should php functions to track the users and put them in database

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.