note 60836 added to function.system

From: Date: Wed, 18 Jan 2006 05:15:06 +0000
Subject: note 60836 added to function.system
Groups: php.notes 
Request: Send a blank email to php-notes+get-102002@lists.php.net to get a copy of this message
If using Windows with IIS and you're having problems with the system() and related commands, I found the easiest way to solve it was to modify the Authentication Method for the file (or directory) that uses the call and change the anonymous access user from the default (IUSR_IMAGE) to a user with enough permissions to execute the commands in the system call. This way, there is no need to give execute permissions to IUSR_IMAGE on cmd.exe (which opens up a security risk system-wide) or copy cmd.exe into your php directory (per the suggestions of others). Hope this helps someone! ---- Server IP: 12.160.245.96Probable Submitter: 70.57.75.20 ---- Manual Page -- http://www.php.net/manual/en/function.system.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+60836 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60836&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60836&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60836&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60836&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60836&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60836&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60836&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+60836&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#102002) next »