question about PHP

Reply

Join Date: Apr 2006
Posts: 1
Reputation: tester_geniusd is an unknown quantity at this point 
Solved Threads: 0
tester_geniusd tester_geniusd is offline Offline
Newbie Poster

question about PHP

 
0
  #1
Apr 16th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 31
Reputation: DGStudios is an unknown quantity at this point 
Solved Threads: 3
DGStudios DGStudios is offline Offline
Light Poster

Re: question about PHP

 
0
  #2
Apr 17th, 2006
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.
http://img.photobucket.com/albums/v6.../dgstudios.jpg
When all that is becomes one. That is the anomoly. That is... Death's Gate Studios (c) 2005
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 348
Reputation: paradox814 is an unknown quantity at this point 
Solved Threads: 4
paradox814's Avatar
paradox814 paradox814 is offline Offline
Posting Whiz

Re: question about PHP

 
0
  #3
Apr 18th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 4
Reputation: loanskey is an unknown quantity at this point 
Solved Threads: 0
loanskey loanskey is offline Offline
Newbie Poster

Re: question about PHP

 
0
  #4
Apr 18th, 2006
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
Ravish Kumar
I run Loanskey ( A Loan and Mortgage infomation company) and RealEstateCut ( A real estate listing websites ) . I love both of these websites. and this is a subdomain of the loanskey for UK
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1133 | Replies: 3
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC