Re: [users@httpd] No Form data being passed to Scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux