[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: |
Mon, 17 Feb 2003 21:16:56 -0500 |
User-agent: |
Mutt/1.2.5i |
On Mon, Feb 17, 2003 at 06:07:04PM -0800, Shane Wegner wrote:
> Hello all,
>
> I am currently using Lynx 2.8.5-dev11 with file uploads
> enabled. Perhaps not a Lynx issue directly but I ran into
> the problem of Lynx base64 encoding binary files. It seems
> 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.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden