Re: File Upload Error: Boundary Length Exceeds Limit
| From: | Ryan Jameson | Date: | Sun, 03 Dec 2000 15:18:05 +0000 |
| Subject: | Re: File Upload Error: Boundary Length Exceeds Limit | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4328@lists.php.net to get a copy of this message | ||
The code you gave me gave the exact same message that the snippett gives,
here's the post where I said that:
>Thanks for the help but this code gave the exact same message:
>
>File Upload Error: Boundary Length Exceeds Limit
>
>Even just using a < 1k text file.
I really think for some reason PHP always thinks the file is too big even
when it's tiny. Since the actual upload itself is handled by the browser and
IIS I'm willing to bet it is a problem with IIS. On some systems after
clicking submit the browser never comes back. Whatever its problem is, ASP
works fine, I really do want the PHP to work though.
<>< Ryan
----- Original Message -----
From: "Asendorf, John" <JAsendorf@lcounty.com>
To: "Ryan Jameson" <ryan@ryanjameson.com>; <PHP-WINDOWS@lists.php.net>
Sent: Wednesday, December 06, 2000 6:38 AM
Subject: RE: [PHP-WIN] File Upload Error: Boundary Length Exceeds Limit
> If that's the entirety of your code, it will never work. What I guess I
> meant to say was that the snippets of code don't tell me enough to help
you.
> None of that code actually does any kind of upload. It makes a form, it
> tries to echo the name of the file. I think even the echo line itself has
a
> problem, I think the commas need to be periods (but I'm not sure on this
> one.... and I don't think $uploadfile even holds any data that is
> echoable... $uploadfile_name does, but I'm not sure that $uploadfile
itself
> does.
>
> If this is the whole code, try using the code that I sent you. If it's
not,
> post the whole code so we can take a look at it and give you a hand... we
> really hate to see someone HAVE to use ASP :)
>
> ---------------------
> Founder of
> The 'What Kind of Idiot Uses PHP with IIS with Oracle on NT?' Consortium
>
> Members: John Asendorf, Thomas Kryger, Florian Clever, Ron Woods, Bod
>
> John Asendorf - jasendorf@lcounty.com
> Web Applications Developer
> http://www.lcounty.com - NEW FEATURES ADDED DAILY!
> Licking County, Ohio, USA
> 740-349-3631
>
> Vah! Denuone Latine loquebar? Me ineptum. Interdum modo elabitur.
>
>
>
>
>
>
> > -----Original Message-----
> > From: Ryan Jameson [mailto:ryan@ryanjameson.com]
> > Sent: Saturday, December 02, 2000 3:47 PM
> > To: PHP-WINDOWS@lists.php.net
> > Subject: Re: [PHP-WIN] File Upload Error: Boundary Length
> > Exceeds Limit
> >
> >
> > Thanks for your tries. My first post contained all of my
> > code, php.ini had
> > the 2 meg default setting in it and it wouldn't work on any
> > file text or
> > binary from 1k to 1meg.
> > As you see the code doesn't have to specifically handle the
> > file, just give
> > me it's name. Since I already know how to handle the file
> > once it actually
> > gets on the server I knew that if this code were to work I could do
> > everything else I wanted.
> >
> > On my IIS server, using the first snippett as the form and
> > selecting any
> > file (1k to 1meg), posting to the second snippett results in
> > this error in
> > PHP3, PHP4 outputs nothing.:
> >
> > File Upload Error: Boundary Length Exceeds Limit
> >
> > <>< Ryan
> >
> > Code Repeated:
> >
> > <form name="form1" ENCTYPE="multipart/form-data"
> > method="post"
> > action="handler.phtml">
> > Upload:<input type="hidden" name="MAX_FILE_SIZE"
> > value="500000">
> > <input type="file" name="uploadfile">
> > <input type="submit"></form>
> >
> >
> > inside handler.phtml I have this:
> > <?PHP
> > echo $uploadfile_name," ",$uploadfile;
> > ?>
> >
> > ----- Original Message -----
> > From: "Asendorf, John" <JAsendorf@lcounty.com>
> > To: "Ryan Jameson" <ryan@ryanjameson.com>
> > Sent: Tuesday, December 05, 2000 10:50 AM
> > Subject: RE: [PHP-WIN] File Upload Error: Boundary Length
> > Exceeds Limit
> >
> >
> > > Sorry we couldn't help you Ryan... without your code and
> > the file you
> > were
> > > trying to upload, you made it a bit hard for us to help you
> > fix it...
> > >
> > > ---------------------
> > > John Asendorf - jasendorf@lcounty.com
> > > Web Applications Developer
> > > http://www.lcounty.com - NEW FEATURES ADDED DAILY!
> > > Licking County, Ohio, USA
> > > 740-349-3631
> > >
> > > Vah! Denuone Latine loquebar? Me ineptum. Interdum modo elabitur.
> > >
> > >
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Ryan Jameson [mailto:ryan@ryanjameson.com]
> > > > Sent: Saturday, December 02, 2000 12:25 PM
> > > > To: php-windows@lists.php.net
> > > > Subject: RE: [PHP-WIN] File Upload Error: Boundary Length
> > > > Exceeds Limit
> > > >
> > > >
> > > > To all you who may be following this thread my problem was
> > > > never solved. So
> > > > I did it in ASP instead.
> > > >
> > > >
> > > > --
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > > For additional commands, e-mail: php-windows-help@lists.php.net
> > > > To contact the list administrators, e-mail:
> > > > php-list-admin@lists.php.net
> > > >
> > >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail:
> > php-list-admin@lists.php.net
> >
>