php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12414 HTTP POST on lynx not supported
Submitted: 2001-07-26 23:25 UTC Modified: 2001-08-20 12:00 UTC
From: kiko at async dot com dot br Assigned:
Status: Closed Package: HTTP related
PHP Version: 4.0.5 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kiko at async dot com dot br
New email:
PHP Version: OS:

 

 [2001-07-26 23:25 UTC] kiko at async dot com dot br
Current Lynx versions can optionally support HTTP POST;
however, it doesn't work for the PHP file upload functions.
I believe this happens because the upload might be broken in the RFC, but I've seen some discussion on the site http://www.flora.org/lynx-dev/html/month082000/msg00087.html that suggests PHP3 uploads were broken with lynx. 

I'm attaching the (edited and ^Med) POST produced so somebody who knows the RFC better can comment:

POST / HTTP/1.0
Host: blackjesus
Accept: text/html, text/plain, audio/x-pn-realaudio, audio/vnd.rn-realaudio, application/smil, text/vnd.rn-realtext, video/vnd.rn-realvideo, image/vnd.rn-realflash, application/x-shockwave-flash2-preview, application/sdp, application/x-sdp
Accept: application/vnd.rn-realmedia, image/vnd.rn-realpix, audio/wav, audio/x-wav, audio/x-pn-wav, audio/x-pn-windows-acm, audio/basic, audio/x-pn-au, audio/aiff, audio/x-aiff, audio/x-pn-aiff, text/sgml, video/mpeg, image/jpeg, image/tiff
Accept: image/x-rgb, image/png, image/x-xbitmap, image/x-xbm, image/gif, application/postscript, */*;q=0.01
Accept-Encoding: gzip, compress
Accept-Language: en
Pragma: no-cache
Cache-Control: no-cache
User-Agent: Lynx/2.8.4rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.6
Referer: http://www.async.com.br/hireme.phpc2ggQ29taWNzPC9BPgo8L0RMPjxwPgo=
^M
--xnyLAaB03X^M
Content-Disposition: form-data; name=email^M
Content-Type: text/plain; charset=iso-8859-1^M
^M
foo@foo.com^M
--xnyLAaB03X^M
Content-Disposition: form-data; name=MAX_FILE_SIZE^M
Content-Type: text/plain; charset=iso-8859-1^M
^M
500000^M
--xnyLAaB03X--^M

Content-type: multipart/form-data; boundary=xnyLAaB03X
Content-length: 6981

--xnyLAaB03X
Content-Disposition: form-data; name=currfile; filename="/home/kiko/bookmarks.html"

PCFET0NUWVBFIE5FVFNDQVBFLUJvb2ttYXJrLWZpbGUtMT4KPCEtLSBUaGlz
[...]



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-27 23:20 UTC] sniper@php.net
Could you please try with PHP 4.0.6 as there were
couple of fixes regarding this issue in it. 

Also, you should try the latest CVS snapshot from
http://snaps.php.net/ to verify the latest fixes
haven't broke anything.

--Jani

 [2001-08-20 12:00 UTC] sniper@php.net
No feedback. Reopen if you still have this problem
with PHP 4.0.7 (soon to be released) or with latest CVS 
snapshot from http://snaps.php.net/

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 02:01:29 2024 UTC