note 31923 added to function.exec

From: Date: Fri, 09 May 2003 04:52:38 +0000
Subject: note 31923 added to function.exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-47721@lists.php.net to get a copy of this message
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 -- http://www.php.net/manual/en/function.exec.php http://master.php.net/manage/user-notes.php?action=edit+31923 http://master.php.net/manage/user-notes.php?action=delete+31923 http://master.php.net/manage/user-notes.php?action=reject+31923

« previous php.notes (#47721) next »