Bug #16542 Updated: safe_mode_exec_dir and exec()

From: Date: Thu, 11 Apr 2002 08:17:30 +0000
Subject: Bug #16542 Updated: safe_mode_exec_dir and exec()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4627@lists.php.net to get a copy of this message
ID: 16542 Updated by: n.dose@leo-media.de Reported By: n.dose@leo-media.de Status: Open Bug Type: IIS related Operating System: windows XP PHP Version: 4.1.2 New Comment: ISAPI mode. IIS 5.1 safe_mode_exec_dir = C:\\Inetpub\cgi-bin\ <?php exec("myprog.exe"); ?> Calls to exec system with {safe mode = On} result in an extra "/" being prepended to the executable file's name: Warning: Unable to fork [C:\\\\Inetpub\cgi-bin\\/myprog.exe] in c:\inetpub\wwwroot\index.php4 (the fork error results from other issues, but notice the /myprog.exe) Previous Comments: ------------------------------------------------------------------------ [2002-04-11 04:08:15] n.dose@leo-media.de ISAPI mode. IIS 5.1 safe_mode_exec_dir = C:\\Inetpub\cgi-bin\ Calls to exec system with {safe mode = On} result in an extra "/" being prepended to the executable file's name: Warning: Unable to fork [C:\\\\Inetpub\cgi-bin\\/myprog.exe] in c:\inetpub\wwwroot\index.php4 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16542&edit=1

« previous php.bugs (#4627) next »