python - Running an application in your localhost using php -
i have written php script enable me run few batch files , python script in cmd prompt. batch files , python script located in same machine php script. php script have hyperlink image if user click image load command prompt run batch files , python. in order need have .dll file called launchinie.dll , enable activex settings in internet explorer (you can refer link http://www.whirlywiryweb.com/q/%2flaunchinie.asp)
the problem php script can run in internet explorer not in firefox....... how this????
<script language="javascript"> function openpyt(strdoc) { var obj = new activexobject("launchinie.launch"); obj.shellexecute("open", strdoc); } </script>
you're using activex, firefox does not support. sounds you're trying run python script via web browser? simplest way in way work browsers cgi. means code run on web server instead of in web browser, though, might not want. trying do?
Comments
Post a Comment