Hi there, I am starting up a new website which is being hosted on servers which run Windows NT.
I was wondering if it is possible to run normal perl cgi scripts as you would if hosted on a Unix/Linux machine. If it is, it would be great if you could point me somewhere which explains how.
If not, is there any websites which provide NT cgi scripts?
BY CGI, I am going to guess that you really mean PERL. The two really aren't the same.
If you install ActivePerl on the server most will work "right of the box". The ones that need modifications are those that use file locking (flock() and funlock()) and those that use the Unix sendmail utility. You can find PERL scripts that run on NT by going to The CGI Resource Index.
You will also find that they have CGI programs written in many other languages like C, C++, Java, Visual Basic and TCL as well.
Since your going to be on NT, you might look into using ASP. I recommend this for several reasons. The most dominate of them are that ASP is faster than PERL and that its easy to use databases, not flat file databases used in PERL but real SQL databases like Oracle, Sybase and SQL Server. You can find ASP scripts to fit any need at ASPIN.
CGI is different than perl, but Perl CGI scripts work on all platforms. All you need is perl installed on the server. Most servers do have perl installed, but you better ask to make sure.
You can install PERL similar to you install PHP, etc. Each is a download that you install on the server. NT servers have another benifit: you can run ASP with them.
Just one question regarding sendmail. The perl scripts I have do use sendmail. I take it, it is not possible to run scripts which use sendmail on NT servers?
Bookmarks