Re: [PHP-WIN] system(), Access is denied

2001-06-27 Thread Delbono
> > system("e:\\tmp\file.bat") > > but it gives me "Access is denied try please: > > system("e:\\tmp\\file.bat") furthermore: if you call the script from the server way.. "http://localhost/executeme.php"; you have to either 1. Login to the machine as a user with "execute" Permission on th

Re: [PHP-WIN] system(), Access is denied

2001-06-27 Thread Alessio Bernesco Làvore
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" <[EMAIL PROTECTED]> ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP-WIN] system(), Access is denied

2001-06-27 Thread Frank M. Kromann
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_ to execute scripts. Further more a mapping made from a command line will not be available to other users on the same maschine.

[PHP-WIN] system(), Access is denied

2001-06-26 Thread jong jong
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 b