Operating System - Linux
1832272 Members
2399 Online
110041 Solutions
New Discussion

Interfacing Executables and Webpages

 
SOLVED
Go to solution
tony j. podrasky
Valued Contributor

Interfacing Executables and Webpages

Synopsis:

I have a ham radio transceiver that has a
serial interface which allows it to be operated
from a computer.

So I wrote an interface in C. Works great.

Then I thought about it, and what would be
really cool would be to have a webpage with a
JPEG of the transceiver on it and pulldown
menus that allow you to click on them to
adjust the functions.

I played around with MOZILLA, and as far as I
can tell all you can do is link stuff. You
can't actually transfer data from a webpage
to an executable and back.

I did pull in a JAVA enhanced webpage and
tore it apart. I was able to rewrite the
pulldown menus, but again all I can do is
call other URLs.

QUESTION:

What utility do I need that will allow me
to make a webpage that will transfer ASCII
characters between the webpage and the
executable?
REMEMBER: Once you eliminate your #1 problem, #2 gets a promotion.
2 REPLIES 2
Jean-Yves Picard
Trusted Contributor
Solution

Re: Interfacing Executables and Webpages

Hello,

from what i understand, you'll need your executable to parse result from POST form.

data send from POST form are like

Content-Type: text/plain (<- not sure)
Content-Length: 7

foo=bar


I am not sure that's what you want, maybe you like to play with CGI (which can be shell script)

Jean-Yves Picard
tony j. podrasky
Valued Contributor

Re: Interfacing Executables and Webpages

As there are no further answers I guess that
it is time to close this thread.

I expect that if I get the O'Reilly book
on writing web pages that I will find the
answer there.

regards,
tonyp - aka hunybuny
REMEMBER: Once you eliminate your #1 problem, #2 gets a promotion.