Hi!
I have a LED-sign which i want to control through php, but i can't get it to work from online-based php. The sign is controlled through a program which output is redirected to the sign, for example
./sign "hello world" > /dev/ttyUSB0
If i make a php script which contains
$foo="/blabla/sign \"hello world\" > /dev/ttyUSB0";
echo exec($foo);
It executes fine and the sign displays the text if I execute it from commandline, i e php myscript.php, but it does not work when accessed from the internet. No error is given, and it displays ok on the screen if I remove the output redirection, so there has to be som problem with output redirection with this code and online execution. Anybody has any ideas?