executing programs from a web page
darius at dons.net.au
Wed May 8 15:39:36 CST 2013
On 08/05/2013, at 15:04, Jaroslav <jardakau at internode.on.net> wrote:
> I am looking for an answer (preferably simple) to the following questions:
> 1) Can I (and how to) execute a program from a web page (say, in html or
> 2) If yes, can I (and how to) pass input data to this program and also
> to incorporate the output into the web page?
> Here I assume that the program to be executed is on the host (server) of
> the web page. In the first instance, the host is my (linux) computer and
> I am opening the web page html file as a file in firefox.
> As an example for question 1), I have a script file which makes a
> noise (plays a tune) and I want to invoke it by clicking a link or
> button in the web page.
What is the actual problem you are trying to solve? (vs asking how to do what you think is the solution).
You can't run a program on the computer viewing the web page unless your relax a lot of security safeguards (basically impossible on modern browsers), or use IE & ActiveX.
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4136 bytes
Desc: not available
Url : http://www.linuxsa.org.au/pipermail/linuxsa/attachments/20130508/dced20b3/attachment.bin
More information about the linuxsa