note 32919 added to ref.exec
| From: | Darren at rack1 dot php dot net | Date: | Wed, 11 Jun 2003 00:10:02 +0000 |
| Subject: | note 32919 added to ref.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50141@lists.php.net to get a copy of this message | ||
Adding to the Windows batch file trick posted by josep on 22-May-2003 ...
The browser will echo the batch file commands. An easy way to hide the echo is to put HTML comments
around the system call...
print "<!-- ";
system( "/path/to/BatchFile.bat" );
print " //-->";
----
Manual Page -- http://www.php.net/manual/en/ref.exec.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32919
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32919&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32919&report=yes