View Single Post
  #3  
Old 10th February 2012, 10:12
holykim holykim is offline
Member
 
Join Date: Jan 2009
Posts: 56
Thanks: 17
Thanked 5 Times in 4 Posts
Default

Hi Till

Thank you for your reply.

A log file is being increased as several hundreds megabyte in 10~20 seconds. Also the error won't be stopped by max_execution_time.

For example, the zip.db file doesn't exist in the code below, PHP will generate gigantic log files and won't be stopped itself. Just imagine that people open the webpage at the same time.... Please advise.

PHP Code:
$fp fopen("./zip.db""r");
while(!
feof($fp)) {
    
$zipfile[] = fgets($fp4096);

Reply With Quote