Server scripting: Difference between revisions
Jump to navigation
Jump to search
Created page with "== php == simple php example of server side message (from camera) with argument(s) <?php $direction = $_GET['Message']; $fcontents = file_get_contents('php://input') . " - " . $direction; file_put_contents('php.log', $fcontents, FILE_APPEND); ?>" |
No edit summary |
||
Line 2: | Line 2: | ||
simple php example of server side message (from camera) with argument(s) | simple php example of server side message (from camera) with argument(s) | ||
<?php | <?php | ||
$direction = $_GET['Message']; | |||
$direction = $_GET['Message']; | $fcontents = file_get_contents('php://input') . " - " . $direction; | ||
file_put_contents('php.log', $fcontents, FILE_APPEND); | |||
$fcontents = file_get_contents('php://input') . " - " . $direction; | ?> | ||
file_put_contents('php.log', $fcontents, FILE_APPEND); | |||
?> |
Revision as of 16:37, 1 May 2024
php
simple php example of server side message (from camera) with argument(s)
<?php $direction = $_GET['Message']; $fcontents = file_get_contents('php://input') . " - " . $direction; file_put_contents('php.log', $fcontents, FILE_APPEND); ?>