944,079 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1236
  • PHP RSS
Apr 16th, 2006
0

question about PHP

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tester_geniusd is offline Offline
1 posts
since Apr 2006
Apr 17th, 2006
0

Re: question about PHP

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.
Reputation Points: 10
Solved Threads: 3
Light Poster
DGStudios is offline Offline
31 posts
since Mar 2006
Apr 18th, 2006
0

Re: question about PHP

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
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004
Apr 18th, 2006
0

Re: question about PHP

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
loanskey is offline Offline
4 posts
since Apr 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: changing my php code that is in sql to oracle
Next Thread in PHP Forum Timeline: proj stuff





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC