HP3000-L Archives

May 2000, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Richard Gambrell <[log in to unmask]>
Reply To:
Richard Gambrell <[log in to unmask]>
Date:
Sat, 13 May 2000 10:25:56 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
"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]

ATOM RSS1 RSS2