unable to reader the parameters from the http post method

2005-02-01 Thread Jayadev sadineni
hi, I'm trying send the char * request = "POST /cgi-bin/sample.pl HTTP/1.1\x0D\x0AHost: 192.168.1.89:443\x0D\x0A\x43onnection: Close\x0D\x0A\x0D\x0Abirthday=jan0104"; and a CGI script(sample.pl) was written at the server side whichreeads the request , and I'ma trying to print theheader data

Re: unable to reader the parameters from the http post method

2005-02-01 Thread Craig Edwards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 you should probably use sysread in the perl, and youre missing Content-Length headers at both ends. Just what i noticed from a quick glance, you'd probably be better off using the perl CGI modules too. Thanks, Craig Jayadev sadineni wrote: | hi, | |