Solved

got a tip for me ? (CGI)

Posted on 1999-01-06
5
152 Views
Last Modified: 2013-12-25
Hi, everybody :-)
I want to create a web page where visitors can search through a database for a String. (Full-Text-Search)
I guess the best way to do this is CGI, right ?
If so, could somebody give me some hints (URLs?) on how to write CGI Scripts? I know C++, Pascal and Delphi, so programming is not all new to me.
Also: Can I write CGI Scripts with a normal editor ?

Greetings, Oli
0
Comment
Question by:Oli2
  • 2
  • 2
5 Comments
 
LVL 10

Expert Comment

by:MasseyM
ID: 1830494
What kind of server?  If it is on NT, you can use ASP which is very easy and has a very easy connectivity to SQL and access databases.
0
 
LVL 1

Author Comment

by:Oli2
ID: 1830495
Hi, MasseyM
Thanx for your answer.
I planed on running it on an Apache server, but NT could fit my needs also.
I'll bother altavista for "ASP" and check on this.
Do you have any good links on ASP ?

Greetings, Oli
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1830496
If you have Active Server Pages installed, you can, like I said, connect to the SQL and Access databases VERY easily.  You can pass SQL statements and everything will work wonderfully.  

Hmmm... ASP links?
activeserverpages.com
asphole.com
microsoft.com

or just search for ASP on the web.

0
 

Accepted Solution

by:
oliverp101698 earned 20 total points
ID: 1830497
For what you want to do, I would write a cgi script in perl
because of its regular expression matching capabilities and
because it's also easy to connect to databases. It will also
run on your Apache server.

Matt's Script Archive (http://www.worldwidemart.com/scripts/)
is a great place to start, especially if you have previous
programming knowledge. The scripts are free and a great way to
learn.

To connect to a database using Perl you'll need to download
and install the Win32::ODBC module as well but it's real easy
and well documented here:

http://www.roth.net/odbc/

And yes, you can write a cgi script using a simple text editor.


Oliver
0
 
LVL 1

Author Comment

by:Oli2
ID: 1830498
Thanx, OliP.
I'll give it a try.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

786 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