|
Posted by Mjolinor on 10/08/05 14:24
I have a web page running on a Rabbit processor and can call the CGIs from
the C programme within the Rabbit with:-
<TD> <A HREF="/tv_tog.cgi"> <img SRC="<!--#echo var="tv"-->"> </TD>
I can make the CGI do what its supposed to do from an external web page
with:-
<TD> <A HREF="http://192.168.0.99:140/tv_on.cgi"> <img SRC="<!--#echo
var="http://192.168.0.99:140/tv"-->"> </TD>
It switches a relay on or off. The switching works fine in both cases (first
half of the above lines) but I can't get the state of the relay back to the
external webpage (second half of the above lines). The variable "tv" is
either tv_on.gif or tv_off.gif and when run from the embedded Rabbit it is
displayed correctly but it is not found when the web page is external to the
Rabbit.
I basically don't know how to pass changing information into the external
webpage. I seems to be something to do with SSI but I can't find an example
close enough for me to understand.
You probably guessed I am not any good at all with HTML or C, both of which
are needed to do this. It isn't a matter of me making something useable, I
just have to prove that the hardware is up to the task it is required for.
Apologies if this post is interpreted as HTML, this is just another one of
the problems I have to put up with to ask for help :)
Navigation:
[Reply to this message]
|