Article View: comp.sys.amiga.networking
Article #5416CGI-programming for AWS ?
From: Brian Ipsen
Date: Tue, 12 Mar 1996 14:16
Date: Tue, 12 Mar 1996 14:16
46 lines
2117 bytes
2117 bytes
Hello! When "surfing" on many pages, I often discover many different kind of forms, and when I take a look at the HTML-source, they all seem to have an entry like this (code from AMD's WWW-site): O / X - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - O \ <FORM METHOD="POST" ACTION="/cgi-bin/epdcontest"> and then different types of inputs: <LI>What is the architecture of the 29K<FONT SIZE=-3>(TM)</FONT> family?<BR> <input type="radio" name="Q1" value="a">16-bit CISC<BR> <input type="radio" name="Q1" value="b">32-bit CISC<BR> <input type="radio" name="Q1" value="c">32-bit RISC<BR> <input type="radio" name="Q1" value="d">64-bit RISC<BR> <P>Address: <input SIZE=40 maxlength=40 NAME="street"> <P>So that your entry is valid, please be sure you answer <B>all</B> questions before you <INPUT TYPE="submit" VALUE="Submit This Form">. If any item is not completed, you will get a message that your entry is not valid and have the opportunity to try again.</P> O / X - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - O \ I wonder what is happening, when the users clicks on "submit" - I know, that the form is handled by the program in /cgi-bin/epdcontest , but how does this program get the input from the browser and so on ??? In general I'm no expert in HTML, I prefer doing this by the Try-And-Error principle :-) - But if it cannot be said shortly, are there any C-sourcecode for cgi-binaries somewhere (hopefully ANSI C) or do I have to start with Perl (I've heard, that many uses Perl). <tsb> GizmoSoft Productions | bipsen@vip.cybercity.dk | | Brian Ipsen | -- Amiga2000/A2630/9MB/Oktagon SCSI/Quantum 1.08GB/Toshiba XM5201
Technical Details
Message-ID:
<1686.6645T919T930@vip.cybercity.dk>Path:
arc1-ca.pugleaf.net!www.cybercity.dk!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!www.cybercity.dk!usenet From: bipsen@vip.cybercity.dk (Brian Ipsen) Newsgroups: comp.sys.amiga.networking,comp.sys.amiga.programmer Subject: CGI-programming for AWS ? Date: 12 Mar 1996 14:16:20 GMT Organization: CyberCity of Denmark Message-ID: <1686.6645T919T930@vip.cybercity.dk> NNTP-Posting-Host: 194.16.56.107 X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*