Re: system(), Access is denied
| From: | (Delbono) | Date: | Wed, 27 Jun 2001 14:45:57 +0000 |
| Subject: | Re: system(), Access is denied | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8081@lists.php.net to get a copy of this message | ||
> > 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 the directory
e:\tmp\file.bat
or
2. Give IUSR_WEB (the "internet user" of NT) the "Execute" permission
on the directory
e:\tmp\file.bat