Solved

Beginner Intranet devel using cgi-win

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Ever wondered how to display how many visitors you have online. In this tutorial I will show you an easy but effective way to display the number of online visitors in WhizBase. In this article I assume you have read my previous articles and know …
This article will show, step by step, how to integrate R code into a R Sweave document
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

747 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

8 Experts available now in Live!

Get 1:1 Help Now