base64
This commit is contained in:
1 parent
989a193541
commit
778c6ef5af
1 file changed
+2
-2
+2
-2
@@ -56,7 +56,7 @@ if (count($all)!=0) {
|
||||
|
||||
$file = fopen($filename, 'c+b');
|
||||
flock($file, LOCK_SH);
|
||||
echo 'data: ', fread($file, filesize($filename)), PHP_EOL;
|
||||
echo 'data: ', base64_dencode(fread($file, filesize($filename))), PHP_EOL;
|
||||
fclose($file);
|
||||
unlink($filename);
|
||||
break;
|
||||
@@ -69,4 +69,4 @@ if (count($all)!=0) {
|
||||
|
||||
echo 'retry: 1000', PHP_EOL, PHP_EOL; // shorten the 3 seconds to 1 sec
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in new issue
Block a user