Re: [PHP-WIN] system() call in PHP5 on win2003

2007-07-09 Thread Niel Archer
Hi Sounds like a permission problem. You don't mention which HTTP server you're using, but I know with Apache (and likely so with IIS also) PHP can't run with 'Everyone' permissions as that is not the same as 'Anyone at all'. If memory serves, Everyone is authenticated users + anonymous users +

[PHP-WIN] system() call in PHP5 on win2003

2007-07-09 Thread Xiaogang
We used to use php 4 on our web server on win2000, and use the system() to call some DOS programs. That how we call it: $cmd = "c:\\Inetpub\\wwwroot\\test.exe"; $last_line = system($cmd, $retval); print ("\nretval =\"". $retval. "\"\n"); It was working perfectly for years.