Hi Jon. Yes, I am uploading using a form set to "multipart/form-data". When sent from a mac, line endings are not being recognized.
steve > From: "Jon Haworth" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Fri, 6 Feb 2004 12:18:06 -0000 > To: [EMAIL PROTECTED] > Subject: [wdvltalk] Re: uploading files > > Hi Steve, > >> It also implies that uploading from the mac >> using an html form is not in "text" format. > > I'm jumping into this thread a bit late so I don't know if this has been > covered, but are you specifying the encoding in your form? > > If you leave it out, your browser assumes this: > > <form action="foo.php" method="post" > enctype="application/x-www-form-urlencoded"> > > However, if you're selecting a file to upload via an <input type="file"> > then you should change your encoding to "multipart/form-data". > > There's more detail about these at w3.org: > http://www.w3.org/TR/REC-html40/interact/forms.html#form-content-type > > The PHP manual also has a working example of the file upload process: > http://php.net/manual/en/features.file-upload.php > > HTH > Jon > > > ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
