function makesafe($hack) { $hack = htmlspecialchars($hack); $hack = strip_tags($hack); $hack = str_replace("select", "", $hack); $hack = str_replace("SELECT", "", $hack); $hack = str_replace("update", "", $hack); $hack = str_replace("UPDATE", "", $hack); $hack = str_replace("delete", "", $hack); $hack = str_replace("DELETE", "", $hack); $hack = str_replace("drop", "", $hack); $hack = str_replace("DROP", "", $hack); // $hack = str_replace(";", "", $hack); $hack = str_replace("--", "", $hack); $hack = str_replace("\0", "", $hack); //Finish filtering $hack of html tags and dangerous funcs //Begin filtering $hack of non alphanumeric characters // $hack = preg_replace("/[^0-9a-z -#]/i",'', $hack); $hack = addslashes($hack); return $hack; } ?>
|
|
A plant is positioned in front of a multitouchscreen. By operating the buttons with its leaves, the plant can control its own water and light supply, so it can survive independently and autonomously.
In the video, the process of touching a button is speeded up for demonstration purposes CONTROL INTERFACE V1.0 2 interaction buttons:
Plant growing since juli 24th 2010 at: Verbeke Foundation, Belgium |