| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2005-09-30 21:08 UTC] sniper@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 14:00:01 2025 UTC | 
Description: ------------ When I run the following script as a user with administrator rights, everything works like a charm. When I remove the user from the administrators group and leave it in a users group, the script does not work. (please ignore the syntax as it works fine as under the admin user account) Note that: I can run simple command lines like ?dir? from any windows account. The permissions have been set to allow every user group to have full control on the following: cmd.exe convertDoc.exe hello.doc tmpuploads/ what are some security settings that I can enable for exec to allow the users account to run the script? Reproduce code: --------------- function runfileconvertion(){ $convert_cmd = "C:\\\"Program Files\"\\\"SoftInterface, Inc\"\\\"Convert Doc\"\ConvertDoc.exe /S C:\\\"Program Files\"\\\"Apache Group\"\Apache\webroot\createdoc\\tmpuploads\\hello.doc /F9 /T C:\\\"Program Files\"\\\"Apache Group\"\Apache\webroot\createdoc\\tmpuploads\\hello.txt /C4 /M1"; exec($convert_cmd); } runfileconvertion(); Expected result: ---------------- i expect for a new hello.txt file to be created Actual result: -------------- nothing at all, no error