Re: php File upload

From: Date: Thu, 07 Aug 2008 15:27:00 +0000
Subject: Re: php File upload
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-277824@lists.php.net to get a copy of this message
With what linux BS have you tested? No, it isn't the apaches job/problem. I do nothing with the file. Looking for $_FILES Varables and then move_uploaded_file. But i said it before, the problem is not at this point. If i upload the file and watch memory with vmstat, free is going 0, cache is going to top and if free is 0 => temp file was deleted and script witout an error comes back. At the crash point, the File is not complete uploaded, so my $_FILES have no entry about the file specs. Im hanging some days with many tests on differnet machines (alls suse) on this Problem and can't solve it :-( "Per Jessen" <per@computer.org> schrieb im Newsbeitrag news:g7f110$1ge$2@saturn.local.net... Tom wrote: > hmm, memory buying is okay, not the final solution. I think php design > fault on this function. It's not comprehensible why php use such a > lot main memory for an upload. Well, PHP doesn't - the upload is apaches job. Once the file is uploaded, PHP is invoked to process it. You do your move_uploaded_file() etc. What do you do to the uploaded file? /Per Jessen, Zürich

« previous php.general (#277824) next »