问题描述:

I have created a vb.net program and get the exe file and i'm trying to run it in web using PHP.

In localhost, it is running smoothly with these codes:

<?php

$answer = exec("myexecutablefile.exe");

echo $answer;

?>

But when i upload it online (shared hosting) , the executable file is not appearing anymore. Can anyone help me how am i able to run exe file on my online website.

Thanks in advance.

网友答案:

You can't run Windows executables on a Linux based shared hosting service, as you probably can't install and run Wine or something like this.

相关阅读:
Top