Solved

got a tip for me ? (CGI)

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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
excel file 5 78
Recursively Delete Files 5 102
Awk To add just one column - modifying script from an answer 2 26
Review of the nodejs code 1 35
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
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…

713 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