in reply to using opendir in CGI

Why don't you get Perl to tell you why it isn't working? Just change:

opendir(TRACKING, "R:\\");

to

opendir(TRACKING, "R:\\") or die "could not opendir because $!";

Always check the results from system commands - it saves time in the long run :-)

Replies are listed 'Best First'.
Re: Re: using opendir in CGI
by Grygonos (Chaplain) on Jun 20, 2003 at 16:33 UTC
    Thank you .. I didn't know I could do that. it says .. no such file or directory.. .which may prove my earlier theory that it doesn't know about anything outside of the webserver directory context.