thanxs for your response..
i worked around it the following way:

in my php script i envoke the ntvdm via cmd.exe
through teh command net use drive_letter: \\servername\path  /user:username
pass
in the next step i walk through the filesystem using opendir.
en then check wether the returned value is a file or a dir.
this then goes in to my database for further processing.

it works great!

"Brian 'Bex' Huff" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Two things you might want to try...
>
> 1) you are doubtless running IIS or Apache as a service. Make sure that
> you are running it as a user who has access rights to the network drive.
> For example, you may need to run it as a domain user, and supply a
> password.  Check the "Services" control panel for more info.
>
> 2) You may want to map your network drive as a local drive
>
> And fyi, its always easier to diagnose your problem if you supply us
> with the exact error messages you are getting...
>
> --
>
> Brian 'Bex' Huff
> [EMAIL PROTECTED]
> Phone: 952-903-2023
> Fax: 952-829-5424
>
> > I'm working on a file sharing solution in php.
> > i got a network share that contains these files.
> > the idea is to read the file data en parse descriptions thru php to the
> > client in html.
> >
> > only problem is that opendir works fine on the local drives, but reports
> > only errors when used on network drives..
> >
> > what's the way to go around this one?
> >
> >
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to