in reply to Make unix CGI script work on win32

First off, you need to escape your back-slashes. Use C:\\webserver\\osarr.org\\www\\cgi-bin\\data\\indsignups.txt for your file to be opened. In unix it was probably something like /webserver/osarr.org/www/cgi-bin/data/indsignups.txt which works because unix uses forward-slashes...

Second, you gave us way too much information. Now, that's better than not enough, but I think since you knew the problem was with not finding the file to output to, that's the only code you needed to show us.

  • Comment on differences in filesystem naming conventions

Replies are listed 'Best First'.
Re: differences in filesystem naming conventions
by BUU (Prior) on Jan 10, 2004 at 06:54 UTC
    Or you could just use forward slashes everywhere since that makes life much simpler and win32 perl understand them just fine.