TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Proportional 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:
"Robert C. Leif, Ph.D." <[log in to unmask]>
Reply To:
Robert C. Leif, Ph.D.
Date:
Thu, 9 Dec 1999 14:29:27 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (56 lines)
To: Robert I. Eachus et al.
From: Bob Leif

I previously looked at uncgi. However, I did not wish to get a C compiler
nor learn C. My suspicion is that the C code in uncgi permits reading the
command line with the *.exe? part of the string. That is why I started this
thread. Is there an Ada compiler for Windows 98, Windows CE, or any other
reasonable INTEL based PC which can read the output of a HTML.Form.Get? I
know about Post. However, one should first worry about reading the string,
prior to the problem of its parsing.

I will try Rich Conn's approach using the Microsoft Personal Web Server.
Fortunately, I can separate the GUI based changing of my configuration file
from the execution of my data acquisition program.

-----Original Message-----
From: Team Ada: Ada Advocacy Issues (83 & 95)
[mailto:[log in to unmask]]On Behalf Of Robert I. Eachus
Sent: Thursday, December 09, 1999 12:17 PM
To: [log in to unmask]
Subject: Re: Rational A.5 Command Line and HTML


At 08:22 PM 12/8/1999 -0500, Richard L. Conn wrote:
>..."* If you are inexperience in writing server-side
>form-processing applications, choose GET.  The extra
>steps involved in reading and decoding POST-style
>transmitted parameters, while not too difficult, may
>be more than you are willing to tackle."...

    If you haven't looked at uncgi, do so.  It is a small tool which does
this decoding for you, and does several other things as well.  It is written
in very portable C, and should be easy to find on the web.  (Go to
http://www.midwinter.com/~koreth/uncgi.html for the most recent version,
currently 1.9.)  I have used it on Windows NT 4.0 with HTTPS, but I haven't
tried it on Windows 95/98.

>  "* If you want to invoke the server-side application
>outside of the realm of a form, including passing it
>parameters, use GET because it lets you include form-like
>parameters as part of a URL.  POST-style applications,
>on the other hand, expect an extra transmission from
>the browser after the URL, something you can't do as
>part of a conventional <a> tag."

    Uncgi allows you to use both GET and POST in the same program
invocation.   But if you do this be very careful with security issues.
Remember that anyone seeing the web page can read the text and try to use
the information learned there to get creative...

                                        Robert I. Eachus

with Standard_Disclaimer;
use  Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...

ATOM RSS1 RSS2