[Israel.pm] access network directories using cgi on a windows(win32) network
roi__ at hotmail.com
Thu Apr 29 01:38:34 PDT 2004
answers to Omer Queshtions:
1. yes, there is a security issue. entering a server in the nettwork
requires entering user name and
paswword. how can i set the user name and password on the perl script
(inside the network) ?
meaning, the cgi form set gets to a perl script inside the network. i
would like to set the env
parameters on the perlscript to enable access to the direcories (it does
work if i run the perl script
from inside the network).
How can i do that ?.
2. The error returned is: Can't open dir: \\[server name]\c$\[folder name]
;... No such file or
note that the directory was opened when the Perl script was excecuted
from inside the network.
>From: Omer Zak <omerz at actcom.co.il>
>Reply-To: Perl in Israel <perl at perl.org.il>
>To: Perl in Israel <perl at perl.org.il>
>Subject: Re: [Israel.pm] access network directories using cgi on a
>Date: Thu, 29 Apr 2004 09:52:17 +0300 (EET DST)
>The first questions:
>1. Did you check for permission problems?
>2. What error value is returned by the opendir() function?
> --- Omer
>My opinions, as expressed in this E-mail message, are mine alone.
>They do not represent the official policy of any organization with which
>I may be affiliated in any way.
>WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html
>On Thu, 29 Apr 2004, roi shemi wrote:
> > Hi all.
> > a cgi script activated from a local computer(windows) post data to a
> > script located under the
> > cgi-bin folder of a network (win32).
> > the perl script getting the data, activate a module which opens a
> > on that network andreturns a requested file name from the directory
> > running the perl script from the network, the directory is opened and
> > requested file is returned.
> > Yet, triggering the perl script using the CGI page, the directory can
> > get opened.
> > the network is a Win32.
> > directory is: $dir=\\\\[server name]\\c\$\\[folder name] ;
> > the open dir function is: opendir(DIRHANDLE,$dir);
> > any ideas ?
>Perl mailing list
>Perl at perl.org.il
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
More information about the Perl