Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Beginner Intranet devel using cgi-win

Posted on 1998-10-01
3
196 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

808 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