Re: File Upload via php script

>>POST /check/ HTTP/1.0
>>Host : validator.w3.org

Thanks for your fast answer. When i use HTTP 1.1 as seen below, it again works 
on my local installation, but generates another error. But i think the header 
should be alright, I checked RFC2616 14.23 and all looks good for me.
<<<<<<<<<<<<<<<<<<<<<<<
   POST /check/ HTTP/1.1
   User-Agent : whatever
   Connection : close
   Content-Type : multipart/form-data;
   boundary=--accessibility_4cbb45f0a86911cc4f2203f70f1c8852
   Host : validator.w3.org
   Keep-Alive : 2000
   ...
 >>>>>>>>>>>>>>>>>>>>>>>
I get the following answer
<<<<<<<<<<<<<<<<<<<<<<<
   HTTP/1.1 400 Bad Request
   Date: Fri, 05 Nov 2004 12:20:01 GMT
   Server: Apache/1.3.27 (Unix)
   Connection: close
   Transfer-Encoding: chunked
   Content-Type: text/html; charset=iso-8859-1

   12d
   <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
   <HTML><HEAD>

   <TITLE>400 Bad Request</TITLE>
   </HEAD><BODY>
   <H1>Bad Request</H1>
   Your browser sent a request that this server could not understand.<P>
   client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23):
   /check/<P>
   </BODY></HTML>
 >>>>>>>>>>>>>>>>>>>>>>>

Received on Friday, 5 November 2004 12:34:41 UTC