Re: system(), Access is denied

From: Date: Wed, 27 Jun 2001 03:27:25 +0000
Subject: Re: system(), Access is denied
Groups: php.windows 
Request: Send a blank email to php-windows+get-8066@lists.php.net to get a copy of this message
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: 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 (#8066) next »