使用php4加速网络传输

a862162668

a862162668

2016-01-29 14:44

使用php4加速网络传输,使用php4加速网络传输
  标 题: 使用php4加速网络传输。

<?
/***************************************
** Title.........: PHP4 HTTP Compression Speeds up the Web
** Version.......: 1.10
** Author........: catoc <catoc@163.net
** Filename......: gzdoc.php
** Last changed..: 25/08/2000
** Requirments...: PHP4 = 4.0.1
**                 PHP was configured with --with-zlib[=DIR]
** Notes.........: Dynamic Content Acceleration compresses
**                 the data transmission data on the fly
**                 code by sun jin hu (catoc) <catoc@163.net
**                 Most newer browsers since 1998/1999 have
**                 been equipped to support the HTTP 1.1
**                 standard known as "content-encoding."
**                 Essentially the browser indicates to the
**                 server that it can accept "content encoding"
**                 and if the server is capable it will then
**                 compress the data and transmit it. The
**                 browser decompresses it and then renders
**                 the page.
** Useage........:
**                 No space before the beginning of the first '<?' tag
.
**                 ------------Start of file----------
**                 |<?
**                 | include('gzdoc.php');
**                 | print "Start output !!";
**                 |?
**                 |<HTML
**                 |... the page ...
**                 |</HTML
**                 |<?
**                 | gzdocout();
**                 |?
**                 -------------End of file-----------
***************************************/
ob_start();
ob_implicit_flush(0);
function GetHeader(){
        $headers = getallheaders();
&
展开更多 50%)
分享

猜你喜欢

使用php4加速网络传输

PHP
使用php4加速网络传输

使用 php4 加速 web 传输

PHP
使用 php4 加速 web 传输

s8lol主宰符文怎么配

英雄联盟 网络游戏
s8lol主宰符文怎么配

PHP4 与 MySQL 交互使用

PHP
PHP4 与 MySQL 交互使用

php4的彩蛋

PHP
php4的彩蛋

lol偷钱流符文搭配推荐

英雄联盟 网络游戏
lol偷钱流符文搭配推荐

php4新函数集锦

PHP
php4新函数集锦

PHP4之真OO

Web开发
PHP4之真OO

lolAD刺客新符文搭配推荐

英雄联盟
lolAD刺客新符文搭配推荐

Oracle的自动数据库诊断监控程序剖析

Oracle的自动数据库诊断监控程序剖析

Oracle9i数据库中动态重配置深入分析

Oracle9i数据库中动态重配置深入分析
下拉加载更多内容 ↓