SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: NT with CGI?

  1. #1
    SitePoint Zealot Wilmot's Avatar
    Join Date
    Feb 2000
    Location
    Brisbane, Queensland, Australia
    Posts
    187
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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?

    Any help would be great.

    Thanks

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    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.

    ------------------
    Wayne Luke - Sitepoint Moderator/Internet Media Developer
    Digital Magician Studios - Making Magic with Web Applications
    wluke@digitalmagician.com

  3. #3
    SitePoint Wizard
    Join Date
    Sep 1999
    Posts
    1,390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

    I think you can download perl at http://www.activeslate.com/

    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.

    Good luck!

    ------------------
    Aidan Bahta
    abahta@flashmail.com

    ActiveWM.com - The place for the Active Webmaster.

  4. #4
    SitePoint Wizard
    Join Date
    Sep 1999
    Posts
    1,390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's not the first time this has happened.

    wluke replied before the chance, once again

    Well now you have more answers to work with.

    Good job Wayne!

    ------------------
    Aidan Bahta
    abahta@flashmail.com

    ActiveWM.com - The place for the Active Webmaster.

  5. #5
    SitePoint Zealot Wilmot's Avatar
    Join Date
    Feb 2000
    Location
    Brisbane, Queensland, Australia
    Posts
    187
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for those suggestions.

    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?

    Thanks again.


  6. #6
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can't run something that doesn't exist. Sorry its the plain truth. NT uses MAPI to send email not a command line program.

    ------------------
    Wayne Luke - Sitepoint Moderator/Internet Media Developer
    Digital Magician Studios - Making Magic with Web Applications
    wluke@digitalmagician.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •