[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-windows
Subject:    Re: [PHP-WIN] system(), Access is denied
From:       delbono () dsc ! it (Delbono)
Date:       2001-06-27 14:45:57
[Download RAW message or body]

> >   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




-- 
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic