Improve company productivity with a Business Account.Sign Up

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

got a tip for me ? (CGI)

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
Oli2
Asked:
Oli2
  • 2
  • 2
1 Solution
 
MasseyMCommented:
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
 
Oli2Author Commented:
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
 
MasseyMCommented:
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
 
oliverp101698Commented:
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
 
Oli2Author Commented:
Thanx, OliP.
I'll give it a try.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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