?
Solved

Beginner Intranet devel using cgi-win

Posted on 1998-10-01
3
Medium Priority
?
226 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
[X]
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
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 150 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

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
The viewer will learn how to count occurrences of each item in an array.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

777 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