Subject: | |
From: | |
Reply To: | |
Date: | Sat, 13 May 2000 10:25:56 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
"Born, Ken" wrote:
>
> Hi Gang,
> I have now ventured off to writing my first CGI program to use a STDIN
> input. This is in preparation to make use of the POST method in html. I
> have been successful just running the CGI using the PASCAL program
> pasccgi(output). However, when I modify PASCAL to use program
> pasccgi(input, output), I will always get the Premature end of script
> headers. What gives?
Short answer: Don't use Pascal IO. Call FREAD and FWRITE as intrinsic.
Your program will be better for it anyway and it will work better
with CGI.
Richard Gambrell
--
Richard L Gambrell,
Database Administrator and
Consultant to Computing Services at UTC
University of Tennessee at Chattanooga
113 Hunter Hall, Dept. 4454
615 McCallie Ave., Chattanooga, TN 37403-2598
voice mail/cell phone: 423-432-5122
private email: [log in to unmask]
office fax: 423-755-4025
office phone: 423-755-4551
UTC email: [log in to unmask]
|
|
|