Re: How to execute a bat file on the Apache server
| From: | desa15 at necso dot es | Date: | Tue, 22 Jul 2003 12:29:09 +0000 |
| Subject: | Re: How to execute a bat file on the Apache server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-156214@lists.php.net to get a copy of this message | ||
Use
algo.bat
REM Output from a batch file
Dir C:\
sleep 10
<?php
echo exec ("C:/algo.bat");
?>
or
<?php
echo system ("C:/algo.bat");
?>
Check if the safe_mode is on, and turn to off
Un saludo, Danny