Solved

Beginner Intranet devel using cgi-win

Posted on 1998-10-01
3
183 Views
Last Modified: 2013-12-25
I have my HTML pages and an Access database complete.
Am using WebSite server and cgi-win.
Having trouble understanding how the following works <FORM METHOD= ....../cgi-win/myfile/myfile.exe/do?something>
Am missing some important steps. Does one actually write the xyx.exe file? Where, on your HTML page do you specify the data base file you want to search? Suggested reading or
web sites for me to visit?
0
Comment
Question by:cparris
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 50 total points
ID: 1828906
Submitting as form will transfer all the named values in the form to the CGI. So for example:

<FORM ACTION="/cgi/mycgi.exe">
<input type="text" name="sampletext"
<input type="submit">
</FORM>

will go to the url mentioned in "action" and have a querystring. Like this:

http://www.domain.com/cgi/mycgi.exe?sampletext=whateverwasfilledin

If you have more fields in the form then the querystring looks like

?var1=value1&var2=value2&var3=value3 (etc)

the querystring is everything after the "?"

0
 

Author Comment

by:cparris
ID: 1828907
Where does the "mycgi.exe" file come from? Do I have to write this?
Where do I reference my database file? Or do I?
0
 
LVL 28

Expert Comment

by:sybe
ID: 1828908
You 'll have to write your own CGI program, you can do that using VB, just take a look at the sample code at O'Reilly's internet site.

In that code you'll have to make a reference to your database. If you haven't done any VB before, I am not sure if this is very easy.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now