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

2007-07-10 Thread Tijnema
On 7/10/07, Xiaogang <[EMAIL PROTECTED]> wrote: 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.

[PHP] 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.