note 17002 added to function.exec
| From: | webmaster at woodydrn dot com | Date: | Wed, 21 Nov 2001 20:29:33 +0000 |
| Subject: | note 17002 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21121@lists.php.net to get a copy of this message | ||
I had some small trouble getting this to work on win2k, but I managed to make it work.
$command = "cmd /C mkdir c:\\testing\\$test_id";
exec($command);
If i used if (exec($command)) it didn't work - wierd.
--
http://www.php.net/manual/en/function.exec.php
http://master.php.net/manage/user-notes.php?action=edit+17002
http://master.php.net/manage/user-notes.php?action=delete+17002
http://master.php.net/manage/user-notes.php?action=reject+17002