Solved

IIS ver 4 CGI

Posted on 1998-06-02
3
279 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

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…
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 count occurrences of each item in an array.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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