Jump to content

Archived

This topic is now archived and is closed to further replies.

ajaxgeorge

Running Executables as script

Recommended Posts

Hi,

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/testExe.exe?param=value".

Please help me out.

Thanks and regards

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.