当前位置: 动力学知识库 > 问答 > 编程问答 >

How to run vb.net exe in PHP ONLINE

问题描述:

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.

分享给朋友:
您可能感兴趣的文章:
随机阅读: