This commit is contained in:
nielsbaloe authored and GitHub committed 2023-07-09 12:30:10 +02:00
1 parent 778c6ef5af
commit a7a6c0a31f
1 file changed
+3 -3
+3 -3
View File
@@ -1,4 +1,4 @@
<?
<php?
// A unique identifier (not necessary when working with websockets)
if (!isset($_GET['unique'])) {
@@ -24,11 +24,11 @@ if (filesize($filename)!=0) {
fwrite($file,'_MULTIPLEVENTS_');
}
$posted = file_get_contents('php://input');
fwrite($file,$posted);
fwrite($file,base64_encode($posted));
fclose($file);
// Unlock main lock
flock($mainlock,LOCK_UN);
fclose($mainlock);
?>
?>