RE: [PHP-WIN] File Upload Error: Boundary Length Exceeds Limit

From: Date: Wed, 06 Dec 2000 13:38:16 +0000
Subject: RE: [PHP-WIN] File Upload Error: Boundary Length Exceeds Limit
Groups: php.windows 
Request: Send a blank email to php-windows+get-4325@lists.php.net to get a copy of this message
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 >

« previous php.windows (#4325) next »