base64
This commit is contained in:
1 parent
778c6ef5af
commit
a7a6c0a31f
1 file changed
+3
-3
+3
-3
@@ -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);
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in new issue
Block a user