Re: system(), Access is denied

From: Date: Wed, 27 Jun 2001 07:41:07 +0000
Subject: Re: system(), Access is denied
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8069@lists.php.net to get a copy of this message
I'm afraid you can't reach files on network mapped disks. They're impossible to reach also with commands like fopen and similars, so probably you cannot use system() or exec() and so on. I'm wrong? Alessio. "jong jong" <jxu158@yahoo.com> ha scritto nel messaggio news:20010626152917.62918.qmail@web11501.mail.yahoo.com... > 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: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#8069) next »