[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev File uploads
From: |
Shane Wegner |
Subject: |
Re: lynx-dev File uploads |
Date: |
Tue, 18 Feb 2003 00:01:48 -0800 |
User-agent: |
Mutt/1.5.3i |
On Mon, Feb 17, 2003 at 09:16:56PM -0500, Thomas Dickey wrote:
> On Mon, Feb 17, 2003 at 06:07:04PM -0800, Shane Wegner wrote:
> > the file upload support in php doesn't support Lynx's
> > method of transmitting and my script has no way to know
> > whether a file is base64 encoded or not.
> >
> > I am using php 4.2.3 with the basic $_FILE structures and
> > the information they provide. I have read other messages
> > on the lynx-dev list about this and am wondering if anyone
> > ever came up with a way to fix it. Perhaps disabling
> > base64 encoding for uploads altogether.
>
> base64 encoding is used for binary files because lynx doesn't handle
> embedded nulls in the file - would require rewriting a few hundred
> lines of code, as well as changing several dozen places where the
> result is passed around.
The PHP modification doesn't look easy either. Do you know
if the Content-transfer-encoding: HTTP header is standard
and if so, any CGI libraries in PERL or PHP which will play
nice with Lynx's binary uploads?
Shane
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden