RE: CGI on NT

by "Brian A. Sayrs" <sayrs(at)southwindsolutions.com>

 Date:  Tue, 1 Feb 2000 17:01:27 -0800
 To:  Phillip Perry <info(at)inter-design.net>,
"hwg-techniques(at)hwg.org" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Thanks for sending me the script.

The error you have is in line 41:

$main::data_path=3D"d:\inetpub\cnyidea\cgi-bin";
=20
it should be:

$main::data_path=3D"d:/inetpub/cnyidea/cgi-bin";

because \ is the escape character in PERL.  It couldn't open the file =
banner.lock because it couldn't find your directory.  There's the deal =
with NT PERL interpreters:  the shebang line has single backslashes, and =
everything else has forward slashes.

HTH,
Brian



-----Original Message-----
From:	Phillip Perry [SMTP:info(at)inter-design.net]
Sent:	Tuesday, February 01, 2000 2:35 PM
To:	Brian A. Sayrs
Subject:	Re: CGI on NT

 << File: banner.cgi >> Thanks a lot Brian. I'm starting to pull out my =
(limited) hair! The host I'm
on says everything's OK, but they don't know much about Perl (from my
perceptions)

Thanks again,

Phil

P.S.  There is a data.cgi script too but I'm told it's just to hold the =
info
on the banners and clickthroughs and such. If you need that one too let =
me
know. This is the one I'm having the problem with though. It gives me an
error "can't create lock file".

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.