lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev File uploads


From: Thomas Dickey
Subject: Re: lynx-dev File uploads
Date: Tue, 18 Feb 2003 04:39:27 -0500
User-agent: Mutt/1.3.27i

On Tue, Feb 18, 2003 at 12:01:48AM -0800, Shane Wegner wrote:
> 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?

I don't know - if I had done the rewrite (was contemplating that just before
LP started sending patches), I'd have made it optional, so we could experiment.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]