\n\n

Error: FIFO file “" . FIFO . "” does not exist!

Is fifo_bridge.py running?

"); $f = fopen(FIFO, "w+"); if (count($_POST) == 0) $_POST = json_decode(file_get_contents('php://input'), true); switch (@$_POST["cmd"]) { case "getty": fwrite($f, "GETTY"); break; case "cls": fwrite($f, "CLS"); break; case "on": fwrite($f, "ON"); break; case "off": fwrite($f, "OFF"); break; case "lcdon": fwrite($f, "LCDON"); break; case "lcdoff": fwrite($f, "LCDOFF"); break; case "line": fwrite($f, "LINE "); fwrite($f, $_POST["line"]); break; case "echo": fwrite($f, "ECHO "); fwrite($f, $_POST["text"]); break; case "echo2": fwrite($f, "CLS\n"); fwrite($f, "LINE 1\n"); fwrite($f, "ECHO "); fwrite($f, $_POST["line1"]); fwrite($f, "\n"); fwrite($f, "LINE 2\n"); fwrite($f, "ECHO "); fwrite($f, $_POST["line2"]); break; } fwrite($f, "\n"); fclose($f); //header("Refresh: 5; url=./"); header("Location: ./");