List Info

Thread: note 61876 added to features.file-upload




note 61876 added to features.file-upload
user name
2006-02-14 12:32:34
Hy I have some time out problem when I uploading some file
more then 2mb in firefox and explorer 
my script is not so big script but I folow it on example

<?php
$dir = 'uploads/';
$uploadfile = $dir .
basename($_FILES['userfile']['name']);

if (is_uploaded_file ($_FILES['userfile']['tmp_name']))
         {
             if
(move_uploaded_file($_FILES['userfile']['tmp_name'],$upl
oadfile))
            { // Move the file over.
               echo 'Your file has been uploaded
successfully!';
           }
           else
           { // Couldn't move the file over.
               echo 'Your file could not be uploaded please
try again.</p>';
               }

   }
?>

and here is html

<form enctype="multipart/form-data"
action="upload.php"
method="POST">
           <input type="hidden"
name="MAX_FILE_SIZE"
value="30000000">
           <b>Choose a file to upload:</b>
<input name="userfile"
type="file"><br>
           <input type="submit"
value="Upload File">
           </form>

I wondering how I can upload files like 40mb on server I
realy preshiate if u can help!

Thanx NeoNe
----
Server IP: 213.92.11.19
Probable Submitter: 81.208.83.215
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit        -- http://master.php.net/manage/user-notes.php?action=
edit+61876
Delete: added to the manual -- htt
p://master.php.net/manage/user-notes.php?action=delete+61876
&report=yes&reason=added+to+the+manual
Delete: bad code            -- http://master.
php.net/manage/user-notes.php?action=delete+61876&report
=yes&reason=bad+code
Delete: spam                -- http://master.php.
net/manage/user-notes.php?action=delete+61876&report=yes
&reason=spam
Delete: useless             -- http://master.p
hp.net/manage/user-notes.php?action=delete+61876&report=
yes&reason=useless
Delete: non-english         -- http://mast
er.php.net/manage/user-notes.php?action=delete+61876&rep
ort=yes&reason=non-english
Delete: already in docs     -- http://
master.php.net/manage/user-notes.php?action=delete+61876&
;report=yes&reason=already+in+docs
Delete: other reasons       -- http://master.php.net/manage/user-
notes.php?action=delete+61876&report=yes
Reject      -- http://master.php.net/manage/user-
notes.php?action=reject+61876&report=yes
Search      -- http://ma
ster.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 )