Solved

IIS ver 4 CGI

Posted on 1998-06-02
3
275 Views
Last Modified: 2013-12-25
I give up! what I want to do is search a flat file within a page on IIS ver 4 what CGI lang do I use?
0
Comment
Question by:red031197
  • 2
3 Comments
 
LVL 2

Expert Comment

by:tpryor
ID: 1829314
Perl is the best language for searching text files.  If you run into performance problems you have to options,

1) Get a real DB and use perl to query it.
2) Use C

Perl cant be beat when dealing with text. It is very easy and you can do a lot with little programming.
1 paragraph in perl often equates to 3 or more pages in C

check out www.cpan.com for all you need to use perl.

BTW: it is free! and there are many scripts available on the web for free, too. <gr>

Good Luck
t
0
 
LVL 2

Author Comment

by:red031197
ID: 1829315
how do I use 'C' on IIS compiler as an exectuble?
0
 
LVL 2

Accepted Solution

by:
tpryor earned 100 total points
ID: 1829316
That is another question, but as with any language the cgi is writtin in you must designate the file as an executable file in IIS.
then print to stdn out remember to print out this line before anything else
"Content-type: text/html\n\n"
thats it.
t
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 …
Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

911 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

22 Experts available now in Live!

Get 1:1 Help Now