Tuesday, March 11, 2014

php develop tools super tools–zip web

 

1.What

    This super zip web tool is made by pkrss.com
    It is writed by php,need rewrite module,and can worked in apache and iis.

2.Introduction


    domain:http://api.pkrss.com (base dir is /demo/zipweb/)
    filelist:
            wwwroot\  
                    index.html
                    zip.php
                    zip\
                       a.zip
                       b.zip
                    .htaccess
    When your access http://api.pkrss.com/demo/zipweb/a/a1/a11.htm?param,
    1.this tool will pasre url,it known open a.zip,and read inner file name a1/a11.htm
    2.and read zip archive with filename zip/a.zip
    3.read inner file name a1/a11.htm
    4.output http header,and content
    x.if some error,will output 404.

3.function

1.support mime type with auto detect with apache mime_types file content

2.support zip http header detect,and zip compress content

3.support last_modify header detect,and intelligent return 301 http code.

4.source and demo

demo in here

source in here

No comments: