Hello,
I don't mean to sound frustrated, but as always I'm having a tough time making things work correctly with windows, Ok enough complaining, this is my problem. I have several X10 components, and I just wish (at this point to simply turn them on and off)
I have added the path to the executable (x10com32.exe) to my system path environment varible so I can call the command from anywhere. Here is my code
#!perl.exe -wT
use Strict;
use CGI;
my $q = new CGI;
print $q->header("text/html");
print"<h2>Turning Lights ON</H2>";
my $command = join ("", "x10comm.exe ", "a2 ", "on");
system($command);
The command works fine from the cmd window, but will NOT work when I call it from my browser.....AARRRRGGGHHH!!!!
Any suggestions, or I have I been staring blindly at this VERY SIMPLE code, and have overlooked something. I'm using the latest version of apache for Windows XP, and the cgi perl module.
Thanks