On Monday 21 August 2006 15:37, Ian P Blackburn wrote:
> Hi
>
> The html form tag is :
>
> <FORM  METHOD="POST" ACTION="/cgi-bin/bom_report.ksh">
>
> The korn shell script bom_report.ksh reads in the parameters from stdin
> using the unix function "read" which reads input from standard input
> and then assigns it to a variable,
>
> read Arg1

That's line-oriented, and therefore not compatible with the CGI spec.
It may work with particular CGI implementations, but only by coincidence.

Your script cannot assume it'll get an EOF, let alone lineends.

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to