Solved

got a tip for me ? (CGI)

Posted on 1999-01-06
5
150 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

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 …
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
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 …

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

13 Experts available now in Live!

Get 1:1 Help Now