CGI program only recognizes the "puts(1,"....\n") instr
- Posted by John F Dutcher <John_Dutcher at urmc.rochester.edu> Aug 02, 2004
- 539 views
The following is the start of a CGI script... It works fine 'until'...the very first 'non-'puts(1,"..\n")' is introduced. The two commented lines at the beginning will cause failure if uncommented..... no matter where they are placed. What's the secret to using the rest of the instruction set in a CGI ?? #!c:\Euphoria\Bin\exw.exe -- build html page: -- integer fn -- sequence line puts(1,"Content-type: text/HTML\n\n") -- most important! puts(1,"<html><head>\n") puts(1,"<title>Blues Remits Splitter</title>\n") puts(1,"<body text=blue>\n") puts(1,"<center>\n") puts(1,"<H1>Blues Remittances for 7/28/04</H1>\n") puts(1,"<TABLE BORDER=1 BGCOLOR=pink>\n") puts(1,"<tr><td colspan=30>Received Date</td>\n") puts(1,"<td>Provider</td>\n") puts(1,"<td>Svc Year</td>\n") puts(1,"<td>Account #</td>\n") puts(1,"<td>Last Name</td>\n") puts(1,"<td>First Name</td>\n") puts(1,"<td>Mid Init</td>\n") puts(1,"<td>Sub Last Name</td>\n") puts(1,"<td>Sub First Name</td>\n") puts(1,"<td>Sub Mid Init</td>\n") puts(1,"<td>Date of Birth</td>\n") puts(1,"<td>HIC Number</td>\n") puts(1,"</tr></table>\n")