📄 08c11-3.php
字号:
<?php// Let's capture all data that was passed to this script, and// serialize it into a text string:$ized = serialize($_REQUEST);// Now prepare this to be written to a gzipped file - Highest Compression:$compressed = gzencode($ized, 9);// Generate a guaranteed unique file using tempnam, with a GZ- prefix$filename = tempnam('.', 'GZ-');// Now write the compressed file!file_put_contents($filename, $compressed);?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -