in reply to Re: Re: Differences between CGI and command-line versions of scripts?!?
in thread Differences between CGI and command-line versions of scripts?!?

Sorry, this seems to have caused some confusion. My actual script looks like:

my $process='perl c:\winnt\profiles\jbw\builder\' . "guibuilder.pm $NAME $PASS $BOPT $IWEB $INAS $IAPP " . "$IHLP $VERB |"; open(PH, "$process") || die "Can't open process: $process -- $! ";

Again, the script runs fine from both command line and cgi. It just can't seem to access the LDAP server from cgi...and I can't seem to figure out why.

Thanks for the tip anyway!

  • Comment on Re: Re: Re: Differences between CGI and command-line versions of scripts?!?
  • Download Code

Replies are listed 'Best First'.