Jump to content


Running Executables as script

  • Please log in to reply
1 reply to this topic

#1 ajaxgeorge

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 25 October 2006 - 07:55 AM


I' m into a conversion project where some of the pages are already there as ".exe" files. I cannot rewrite them to php files since the client stick on to using "exe" for what they say security reasons.
I have to use "Apache 2.0" webserver and php5.

Is it possible to run the existing EXE files as script files. How can i configure Apache to treat EXE files in this way so that i can call them like "http://localhost/tes...e?param=value".

Please help me out.

Thanks and regards

#2 R_P

  • Members
  • PipPipPip
  • Advanced Member
  • 98 posts

Posted 26 October 2006 - 02:14 PM

I'll have to get back to you on purely serving a .exe file. Would it be possible to call the file using PHP's exec() function and then parse the data that is returned using a PHP script? In that case you would be able to better control the access of your .exe file.
Pro in: Win2K3S | Apache2 | PHP5 | Perl5 | MySQL | MSSQL | Firefox | Photoshop
Student of: Ubuntu6 | Java | C | VB.NET | ASP.NET
Developer: Roddzilla Webstudios, Burrson CG, DVIDSHUB, The Four Nations
Student: Georgia Tech, Georgia Tech College of Computing

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users