Solved

DOS-Compiled  C to run as cgi on /cgi-bin server side?

Posted on 1998-08-23
2
258 Views
Last Modified: 2013-12-25
cand i compile a c code locally on dos mode, change it to .cgi, to be executed on server??
0
Comment
Question by:eabell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
WDB earned 10 total points
ID: 1828264
Yes. I do it all the time. I keep mine an .exe because I'm running on an NT server but I also have .cgi's that I use on other servers that have been compiled in dos mode.
0
 
LVL 8

Expert Comment

by:jhurst
ID: 1828265
The answer is only YES if the server runs an operating system that supports .EXE files.  As was stated, this works with NT but will not work with thew vast majority of ISPs who use some unix derivative.
0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
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…
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…

707 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