Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the correct form of response from a CGI script?

CGI form Response Script
0
Posted

What is the correct form of response from a CGI script?

0

• My CGI script runs from the command line but not the browser.

0

(Alan Flavell answers…) The Common Gateway Interface (CGI) specifies a software interface between a program (“CGI script”) and a web server (HTTPD). It is not specific to Perl, and has its own FAQs and tutorials, and usenet group, comp.infosystems.www.authoring.cgi The CGI specification is outlined in an informational RFC: http://www.ietf.org/rfc/rfc3875 Other relevant documentation listed in: http://www.perl.org/CGI_MetaFAQ.html These Perl FAQs very selectively cover some CGI issues. However, Perl programmers are strongly advised to use the CGI.pm module, to take care of the details for them. The similarity between CGI response headers (defined in the CGI specification) and HTTP response headers (defined in the HTTP specification, RFC2616) is intentional, but can sometimes be confusing. The CGI specification defines two kinds of script: the “Parsed Header” script, and the “Non Parsed Header” (NPH) script. Check your server documentation to see what it s

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.