When I do the following:
telnet host 80
POST /cgi-bin/script.pl HTTP/1.0
User-Agent: <my browser>
Accept: text/html, text/plain, */*
Host: host
Content-type: application/x-www-form-urlencoded
Content-length: <correct length>
<post data>
I get the following answer:
HTTP/1.1 200 OK
Server: <server type>
Date: <date>
Content-type: text/html
Cannot accept request from Connection closed by foreign host.
But doing it via the page where I extracted the parameter it works.
What do I do wrong?
Stef
--
WebMaster D-CHEM
Unix System-administration, SOS-ETH
ETH Zurich