我如何与Php和我的应用程序通信返回输出到Php [英] How Do I Communicate With Php And With My Application An Return The Output To The Php

查看:84
本文介绍了我如何与Php和我的应用程序通信返回输出到Php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以基本上我想创建一个从用户上传文件(可执行的.exe)的网站,

完成上传后我必须在同一台服务器上打开这个文件(windows服务器)因为我的应用程序在Windows上运行。该文件将由我的C#应用​​程序加密,我希望通过链接返回给用户,以便他们可以下载它。

在我的php页面上我想让用户在我的应用程序上使用一些选项,所以我必须制作3或4个复选框



我的问题是:如何在它们之间进行通信(协议或某事)?我的应用程序必须在命令行中?你有使用API​​吗?非常欢迎任何有用的链接或类似的来源了解更多

非常感谢社区

解决方案

几乎所有主机提供程序块exe在服务器上运行。

如果有你的服务器这将是好的

你可以通过发布表单作为简单方法调用cgi exe表单php和php表单exe

So basically i want to make a website that upload a file (an executable one .exe)from a user,
when it finish upload i have to open this file on the same server (windows server) since my application run on windows. The file will be encrypted by my C# application and i want to be returned to the user by link so they can download it.
On my php page i want to let user to use some option on my app, so i have to make 3 or 4 checkbox

My questions are: How to communicate between them (protocol or somthing )? My application have to be in command line ? Have you to use API? Any useful link or some similar source to learn more are very welcome
Thank you a lot community

解决方案

Almost all of hosting provider block exe running on the server.
If have your on server this will be OK
you could call cgi exe form php and php form exe by posting forms as simple method


这篇关于我如何与Php和我的应用程序通信返回输出到Php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆