List Info

Thread: note 78064 added to features.file-upload




note 78064 added to features.file-upload
user name
2007-09-26 09:59:13
OK,... I got it... finally!

If some of you have also problems uploading large files but
the usual sizes/times in php.ini are ok, please check 

    session.gc_maxlifetime

when you are using session management with your upload
script!

The default value is 1440 which is just 24min... so with
only 600kbit/s upload rate the session will be closed
automatically after uploading
about 100MB. Actually you are able to upload more, but the
file won't be copied from the temporary to the destination
folder... 

You can set the value also directly inside the php-script
via 
<?
ini_set("session.gc_maxlifetime","10800"
); ?>
----
Server IP: 212.124.37.9
Probable Submitter: 85.180.69.129
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit        -- https://master
.php.net/note/edit/78064
Del: integrated  -- h
ttps://master.php.net/note/delete/78064/integrated
Del: useless     -- http
s://master.php.net/note/delete/78064/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/78064/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/78064/spam
Del: non-english -- 
https://master.php.net/note/delete/78064/non-english
Del: in docs     -- http
s://master.php.net/note/delete/78064/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78064
Reject      -- https://mast
er.php.net/note/reject/78064
Search      -- https://
master.php.net/manage/user-notes.php

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


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )