note 70520 added to features.file-upload

From: Date: Thu, 19 Oct 2006 15:03:56 +0000
Subject: note 70520 added to features.file-upload
Groups: php.notes 
Request: Send a blank email to php-notes+get-118769@lists.php.net to get a copy of this message
Hi I am modifying a script that checks the content of a form before uploading the contents to a database. How can I check the size of a file before it is uploaded. I know how to do it using the temp file and the info in the _POST array but this requires the file to have been uploaded. Any ideas ---- Server IP: 85.116.0.130 Probable Submitter: 82.16.32.6 ---- Manual Page -- http://www.php.net/manual/en/features.file-upload.php Edit -- https://master.php.net/note/edit/70520 Del: integrated -- https://master.php.net/note/delete/70520/integrated Del: useless -- https://master.php.net/note/delete/70520/useless Del: bad code -- https://master.php.net/note/delete/70520/bad+code Del: spam -- https://master.php.net/note/delete/70520/spam Del: non-english -- https://master.php.net/note/delete/70520/non-english Del: in docs -- https://master.php.net/note/delete/70520/in+docs Del: other reasons-- https://master.php.net/note/delete/70520 Reject -- https://master.php.net/note/reject/70520 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#118769) next »