Bug? Intermittent situation with CGI program

Sadhunathan Nadesan sadhu at castandcrew.com
Mon Jul 15 16:58:01 EDT 2002


This is the first promised email as the follow up to the previous one.

Sadhu


1. shell script
...................cut here....................
:

echo $1
cat /tmp/testformmt.html | htmlmail "Test Metacard html form" "$1"
...................cut here....................


2. html form

...................cut here....................
<HTML>
<BODY text=black bgColor=white>
<FORM method=post action=http://sdwebdev.bogus.com/cgi-bin/test_approve.mt>
<CENTER>
<H2>LONG METACARD TEST APPROVAL FORM <BR>Submitted to Foobar Productions <BR>Please reply 
using the Transmit Response button </H2><BR>
<H2>DATE SENT: 06/06/2002 12:27 </H2>
<H2>DATE APPROVED: <INPUT size=10 value=" 06/06/2002 " name=date_approved 
maxlenth="10"> </H2></CENTER><BR><BR>
<TABLE cellPadding=4 align=center bgColor=#efedc5 border=1>
  <TBODY>
  <TR>
    <H5><BOLD>
    <TH align=middle>Client Name </TH>
    <TH align=middle>Inv # </TH>
    <TH align=middle>Inv Amount </TH>
    <TH align=middle>Paymaster </TH>
    <TH align=middle>Approved </TH>
    <TH align=middle>Who Sends </TH>
    <TH align=middle>Comments </TH></BOLD></H5>
  <TR>
    <TD>BARFOO </TD>
    <TD>642036 </TD>
    <TD>82.50 </TD>
    <TD>jackie </TD>
    <TD><INPUT type=radio value=Yes name=" 642036 ">Yes <INPUT type=radio 
      CHECKED value=No name=" 642036 ">No <INPUT type=hidden 
      value="            82.50 " name=inv_total_642036> <INPUT type=hidden 
      value=jackie name=entered_by_642036> <INPUT type=hidden value="C and C" 
      name=who_sends_642036> </TD>
    <TD>C and C </TD>
    <TD></TD></TR>
  <TR>
    <TD>BARFOO </TD>
    <TD>642049 </TD>
    <TD>82.50 </TD>
    <TD>jackie </TD>
    <TD><INPUT type=radio value=Yes name=" 642049 ">Yes <INPUT type=radio 
      CHECKED value=No name=" 642049 ">No <INPUT type=hidden 
      value="            82.50 " name=inv_total_642049> <INPUT type=hidden 
      value=jackie name=entered_by_642049> <INPUT type=hidden value="C and C" 
      name=who_sends_642049> </TD>
    <TD>C and C </TD>
    <TD></TD></TR>
  <TR>
    <TD>BARFOO </TD>
    <TD>642050 </TD>
    <TD>82.50 </TD>
    <TD>jackie </TD>
    <TD><INPUT type=radio value=Yes name=" 642050 ">Yes <INPUT type=radio 
      CHECKED value=No name=" 642050 ">No <INPUT type=hidden 
      value="            82.50 " name=inv_total_642050> <INPUT type=hidden 
      value=jackie name=entered_by_642050> <INPUT type=hidden value="C and C" 
      name=who_sends_642050> </TD>
    <TD>C and C </TD>
    <TD></TD></TR>
  <TR>
    <TD>BARFOO </TD>
    <TD>642052 </TD>
    <TD>82.50 </TD>
    <TD>jackie </TD>
    <TD><INPUT type=radio value=Yes name=" 642052 ">Yes <INPUT type=radio 
      CHECKED value=No name=" 642052 ">No <INPUT type=hidden 
      value="            82.50 " name=inv_total_642052> <INPUT type=hidden 
      value=jackie name=entered_by_642052> <INPUT type=hidden value="C and C" 
      name=who_sends_642052> </TD>
    <TD>C and C </TD>
    <TD></TD></TR>
  <TR>
    <TD>BARFOO </TD>
    <TD>642053 </TD>
    <TD>46.20 </TD>
    <TD>jackie </TD>
    <TD><INPUT type=radio value=Yes name=" 642053 ">Yes <INPUT type=radio 
      CHECKED value=No name=" 642053 ">No <INPUT type=hidden 
      value="            46.20 " name=inv_total_642053> <INPUT type=hidden 
      value=jackie name=entered_by_642053> <INPUT type=hidden value="C and C" 
      name=who_sends_642053> </TD>
    <TD>C and C </TD>
    <TD></TD></TR>
  <TR>
    <TD>BARFOO </TD>
    <TD>642054 </TD>
    <TD>82.50 </TD>
    <TD>jackie </TD>
    <TD><INPUT type=radio value=Yes name=" 642054 ">Yes <INPUT type=radio 
      CHECKED value=No name=" 642054 ">No <INPUT type=hidden 
      value="            82.50 " name=inv_total_642054> <INPUT type=hidden 
      value=jackie name=entered_by_642054> <INPUT type=hidden value="C and C" 
      name=who_sends_642054> </TD>
    <TD>C and C </TD>
    <TD></TD></TR>
  <TR>
    <TD>BARFOO </TD>
    <TD>642055 </TD>
    <TD>82.50 </TD>
    <TD>jackie </TD>
    <TD><INPUT type=radio value=Yes name=" 642055 ">Yes <INPUT type=radio 
      CHECKED value=No name=" 642055 ">No <INPUT type=hidden 
      value="            82.50 " name=inv_total_642055> <INPUT type=hidden 
      value=jackie name=entered_by_642055> <INPUT type=hidden value="C and C" 
      name=who_sends_642055> </TD>
    <TD>C and C </TD>
    <TD></TD></TR>
  <TR>
    <TD>BARFOO </TD>
    <TD>642056 </TD>
    <TD>82.50 </TD>
    <TD>jackie </TD>
    <TD><INPUT type=radio value=Yes name=" 642056 ">Yes <INPUT type=radio 
      CHECKED value=No name=" 642056 ">No <INPUT type=hidden 
      value="            82.50 " name=inv_total_642056> <INPUT type=hidden 
      value=jackie name=entered_by_642056> <INPUT type=hidden value="C and C" 
      name=who_sends_642056> </TD>
    <TD>C and C </TD>
    <TD></TD></TR>
  <TR>
    <TD>BARFOO </TD>
    <TD>642057 </TD>
    <TD>82.50 </TD>
    <TD>jackie </TD>
    <TD><INPUT type=radio value=Yes name=" 642057 ">Yes <INPUT type=radio 
      CHECKED value=No name=" 642057 ">No <INPUT type=hidden 
      value="            82.50 " name=inv_total_642057> <INPUT type=hidden 
      value=jackie name=entered_by_642057> <INPUT type=hidden value="C and C" 
      name=who_sends_642057> </TD>
    <TD>C and C </TD>
    <TD></TD></TR>
  <TR>
    <TD>BARFOO </TD>
    <TD>642058 </TD>
    <TD>82.50 </TD>
    <TD>jackie </TD>
    <TD><INPUT type=radio value=Yes name=" 642058 ">Yes <INPUT type=radio 
      CHECKED value=No name=" 642058 ">No <INPUT type=hidden 
      value="            82.50 " name=inv_total_642058> <INPUT type=hidden 
      value=jackie name=entered_by_642058> <INPUT type=hidden value="C and C" 
      name=who_sends_642058> </TD>
    <TD>C and C </TD>
    <TD></TD></TR>
  <TR>
    <TD>BARFOO </TD>
    <TD>642060 </TD>
    <TD>82.50 </TD>
    <TD>jackie </TD>
    <TD><INPUT type=radio value=Yes name=" 642060 ">Yes <INPUT type=radio 
      CHECKED value=No name=" 642060 ">No <INPUT type=hidden 
      value="            82.50 " name=inv_total_642060> <INPUT type=hidden 
      value=jackie name=entered_by_642060> <INPUT type=hidden value="C and C" 
      name=who_sends_642060> </TD>
    <TD>C and C </TD>
    <TD></TD></TR></TBODY></TABLE><BR><BR>
<H5>Enter any comments: </H5>
<P><TEXTAREA name=Notes rows=12 wrap=virtual cols=60>  </TEXTAREA></P><BR><BR>
<P><INPUT type=submit value="Transmit Response"> <INPUT type=reset value="Clear Form"> <INPUT type=hidden 
value="BARFOO Invoice Approval Request (2646) DT=06/06/02 TM=12:26" 
name=Subject></P> </FORM></BODY></HTML>
...................cut here....................



More information about the metacard mailing list