note 78064 added to features.file-upload

From: Date: Wed, 26 Sep 2007 14:59:13 +0000
Subject: note 78064 added to features.file-upload
Groups: php.notes 
Request: Send a blank email to php-notes+get-130799@lists.php.net to get a copy of this message
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 -- https://master.php.net/note/delete/78064/integrated Del: useless -- https://master.php.net/note/delete/78064/useless Del: bad code -- https://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 -- https://master.php.net/note/delete/78064/in+docs Del: other reasons-- https://master.php.net/note/delete/78064 Reject -- https://master.php.net/note/reject/78064 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130799) next »