note 31923 deleted from function.exec by vincent
| From: | vincent@php.net | Date: | Wed, 10 Sep 2003 19:06:00 +0000 |
| Subject: | note 31923 deleted from function.exec by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56009@lists.php.net to get a copy of this message | ||
Note Submitter: y2kaveNOSPAM@hotmailNOSPAM.com
----
for Win2K + PHP + IIS, try:
exec("start c:\\temp\\yourprogram.exe");
Make sure the yourprogram.exe file in the TEMP folder has Read&Execute permissions for the
IUSR_servername anonymous account.
In my case,
exec("start c:\\temp\\netsmtp.pl");
worked, where the program being run is a Perl script. Note that the Perl script interpreter
(perl.exe) also needs to have Read&Execute permissions for the IUSR_servername anonymous
account.
--Pete