Hi Nick
Is there any reason why it works under apache 1.3 but not under apache 2 on
the same box ?
cheers
Ian Blackburn
Nick Kew
<[EMAIL PROTECTED]
m> To
users@httpd.apache.org
21/08/2006 15:49 cc
Subject
Please respond to Re: [EMAIL PROTECTED] No Form data
[EMAIL PROTECTED] being passed to Scripts
e.org
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]
---------------------------------------------------------------------
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]