[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

Beginner Intranet devel using cgi-win

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
cparris
Asked:
cparris
  • 2
1 Solution
 
sybeCommented:
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
 
cparrisAuthor Commented:
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
 
sybeCommented:
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 Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now