Server scripting: Difference between revisions

From SoftwareGuy
Jump to navigation Jump to search
Mark (talk | contribs)
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); ?>"
 
Mark (talk | contribs)
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);
?>