Solved

Want to have CGI Scripts to access SQL Database

Posted on 1997-10-16
2
167 Views
Last Modified: 2013-12-25
I am a novice to the CGI.  I just want to know the process from starting to ending that perform the access SQL database via CGI scripts.  Please tell me in details from the starting point, including where to get interpreter, scripts language.

My email address : warlord@netvigator.com
0
Comment
Question by:warlords
2 Comments
 

Accepted Solution

by:
larsjordan earned 80 total points
ID: 1830926
You should create the application in Visual Basic 5.0 At the start of the program you should connect to the database using ODBC. When youre connected you can manipulate the database using VB's strong database features.
In order to use CGI in VB you must redirect the stdin and standard stdout.
Remember to diconnect the SQL Server at script exit
Note that this will only work in Windows NT/95 webservers, and you must create a setup program from your VB project
0
 
LVL 7

Expert Comment

by:faster
ID: 1830927
Using VB cause a lot of overhead.  You can consider using perl+odbc driver, since perl is quite powerful.  You can also use c+odbc driver, which gives you the best performance.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

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 …
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

821 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