Re: CGI perl script

2001-04-13 Thread Liguo Song
For POST, as specified in HTTP standard, The pairs of variables and values are passed in the content. In order to do it well, you need to write a header and the content, such as the following: POST /cgi-bin/script.cgi HTTP/1.0 User-Agent: blah blah Accept: blah blah Host: blah blah Content-type:

CGI perl script

2001-04-13 Thread Barnaby Puttick
This maybe the wrong list, but do any of you guys no how to emulate what a browser does when it POSTs a form to a cgi script from another script. if I print the: print "location: http://www.site.com/cgi-bin/script.cgi\r\n\r\n"; header, I can redirect my script to another, but cant pass it any v