DSLR camera as webcam and for timelapse shots with raspberry pi, gphoto2 and imagemagick
Donnerstag, 14. August 2014
start linux shell script from website with php
html code:
<html>
<body>
<?php
if ($_GET['run']) {
# This code will run if ?run=true is set.
exec("/home/YOUR_USER/YOUR_SCRIPT.sh", $output);
}
?>
<a href="?run=true">START</a>
</body>
</html>
Keine Kommentare:
Kommentar veröffentlichen