how to run some .exe file using php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,

i am facing following problem.

1. i have some exe file(for example A.exe).
2. it take input as pdf file and again give output as pdf like  from command prompt.
for example :- C:\>A.exe "a.pdf" "b.pdf". it perfetcly working from command prompt.

my problem is that when run through php using passthruor exec command,it gives permission denied error. like this

passthru('C:\inetpub\wwwroot\pdfsaveagain\PDFSaveAgain.exe "C:\inetpub\wwwroot\pdfsaveagain\1.pdf" "C:\inetpub\wwwroot\pdfsaveagain\2.pdf"');

PDFSaveAgain.exe is made using Interop.Acrobat.dll file.


i assign full rights to cmd.exe also but it is not working.

please anybody has any idea or suggestion,please share with us.

thanks
Humayoo



      

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux