Re: php File upload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> schrieb im Newsbeitrag 
news:g7f110$1ge$2@xxxxxxxxxxxxxxxxxxx
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux