Solved

got a tip for me ? (CGI)

Posted on 1999-01-06
5
157 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
[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
  • 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

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

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

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
This article will show, step by step, how to integrate R code into a R Sweave document
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.

691 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