Running jobs from the command line usally uses another userid, with different rights
than when run fram the web server.
the web server normaly installs an uses IUSER_<maschine name> to execute scripts.
Further more a mapping made from a command line will not be available to other users
on the same maschine.
- Frank
> Hi,
> I am a Win NT4.0 user and just start to use PHP. I
> don't have much web programming experience. Now I need
> your help.
>
> I try to use system() to run a batch file which
> sitting on a mapped network drive like
> this :
> system("e:\\tmp\file.bat")
> but it gives me "Access is denied".
>
> I can run this batch file in "Command Prompt" window
> successfully. When system()
> works with the files sitting on server machine, no
> problem at all.
>
> I will appreciate if you can help me this.
>
> Wen
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]