Re: Re: move_uploaded_file > 1MB
| From: | Mauricio AGP5 | Date: | Wed, 04 Jun 2003 14:34:17 +0000 |
| Subject: | Re: Re: move_uploaded_file > 1MB | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150178@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Yves Daemen" <yves.daemen@student.kuleuven.ac.be>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Tuesday, June 03, 2003 7:27 PM
Subject: Re: [PHP] Re: move_uploaded_file > 1MB
> No it's not possible, you have to see the error to actually believe it ;-)
> It goes like this:
>
> You have a form with a file input field, you select a file on your HD, and
> almost the "exact" moment you press the "submit"-button, you get a
> "Page
not
> found 404".
>
> It's very weird when you see it actually, because it's about the last kind
> of output you would expect ;-)
>
> "Electroteque" <daniel@electroteque.org> schreef in bericht
> news:EJECKPELDLGDPHHJOEDLMELFFCAA.daniel@electroteque.org...
> > move_uploaded_file is copying the temp file to a permanent directory
right
> ?
> > thats on the server , check if the temp file is there with
> > $_POST['tmp_name'] or its size value
> >
> > -----Original Message-----
> > From: Yves Daemen [mailto:yves.daemen@student.kuleuven.ac.be]
> > Sent: Wednesday, June 04, 2003 7:44 AM
> > To: php-general@lists.php.net
> > Subject: [PHP] Re: move_uploaded_file > 1MB
> >
> >
> > I got the same error some time ago, and I almost went nuts trying to
find
> > the cause of this seemingly "insoluble" problem. But it has actually
> nothing
> > at all to do with your script or the max_file_size in PHP or the one you
> > give with the HTML form. Those are offcourse 2 limits which are
important,
> > but there's another limit that counts here, and it's around 1Mb for
> > standard...
> >
> > I can't recall how it was exactly done, but it's some default
> > max_body_request or something in Linux or Apache (thought it was Linux
> > though, I encountered the problem on a Redhat distribution, but someone
> else
> > fixed it for me).. Try looking in Linux's or Apache's settings...
> >
> >
> >
> > "MauríCio Valente" <mauricio@agp5.com.br> schreef in bericht
> > news:20030603205446.74672.qmail@pb1.pair.com...
> > > Hello everybody!
> > >
> > > I'm trying to upload a file using the move_uploaded_file function,
> > everyting
> > > works fine when the files have less than 1MB but when I upload one
more
> > than
> > > this, IE returns the error The page cannot be displayed and in it's
> title
> > > shows Cannot find server. I alreary edit php.ini setting
> > UPLOAD_MAX_FILESIZE
> > > to 8388608 (8M), post_max_size = 8388608 and file_uploads = On
> > (memory_limit
> > > is 8388608 too).
> > >
> > > Someone could help me?
> > >
> > > Thanks in advance!
> > >
> > > Maurício Valente
> > >
> > >
> > >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>