自己写了用 dephi 写了一个 exe 窗体文件,我现在 我想在网页中调用此文件,如何做? 用js打开,但会有安全警告具体写法到javascript版面faq区找 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 function execInBackground($path, $exe, $args = "") { if (file_exists($path . $exe)) { chdir($path); if (substr(php_uname(), 0, 7) == "Windows"){ pclose(popen("start \"bla\" \"" . $exe . "\" " . escapeshellarg($args), "r")); } else { exec("./" . $exe . " " . escapeshellarg($args) . " > /dev/null &"); } }} 请教个LINUX和WINDOWS兼容问题 莫名其妙的问题 请教关于数字大小的判断 大家看下我写的正则表达式正确吗? php 5开发工具 又是数组的问题,,希望大家帮下忙. 各位大侠帮忙????? 如何在PHP中使用水晶报表? Apache+php,我想在某个特定的时间(比如每个月底)执行某段代码(某个函数),可以办得到吗? 求函数,100分,快来啊~~~~ 【200分】问个我这种有限分类的显示树的方法和找到某一层的方法 用php如何得到上次访问站点的时间?或javascript也行,
if (file_exists($path . $exe)) {
chdir($path);
if (substr(php_uname(), 0, 7) == "Windows"){
pclose(popen("start \"bla\" \"" . $exe . "\" " . escapeshellarg($args), "r"));
} else {
exec("./" . $exe . " " . escapeshellarg($args) . " > /dev/null &");
}
}
}