exec system passthru
| From: | Plamen Slavov | Date: | Mon, 09 Jul 2001 12:55:46 +0000 |
| Subject: | exec system passthru | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-56919@lists.php.net to get a copy of this message | ||
Sorry if question was asked, but i did not find any information
I use Apache/1.3.20 Win32 PHP/4.0.5 on a Windows ME
I can run commands built in command.com like dir or cd, using system() or passthru(),
but whenever i try to use external command, like pkunzip or gzip, the web server hangs and i have to
restart my computer
The only solution i found was specifying the commands in a .bat file and running the .bat file with
system() - which works OK
Someone had the same problem or a possible solution
tahnks
----------------------------------------------------------------------------------
Visit our site at http://eshop.bg