-3

我不会直接从我的 php 文件中运行具有属性的用户硬盘中的 exe。

我的 php 文件读取 xml 数据并列出如下内容:

$table_string .= "<tr><td>$attrs[ip]</td><td>$attrs[server]</td><td>$attrs[country]</td></tr>";

如果用户单击其中一个表字符串,则应询问他/她 exe 在哪里并使用属性运行它。

示例:“file.exe”-连接:单击的表行 ip

对不起我的英语,我希望我对我的问题很清楚,任何帮助都会很棒。

4

1 回答 1

0

First of all php is a server-side language. So it doesn't know anything about the client systems harddrive. You won't be able to run a client-side program with php.

However even a client-side language won't be able to do this. It is impossible for websites to run anything on the users computer and this is for good reason!!! It would be a huge security hole if you would be able to.

于 2012-12-17T15:03:18.293 回答