?
Solved

IIS ver 4 CGI

Posted on 1998-06-02
3
Medium Priority
?
294 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 300 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

809 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