Server scripting

From SoftwareGuy
Revision as of 16:37, 1 May 2024 by Mark (talk | contribs)
Jump to navigation Jump to search

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);
?>