WhileIf Blog

Programming, Computers and Stuff

Primary menu

Skip to primary content
Skip to secondary content
  • Home
  • WhatsMyIP
  • About

Tag Archives: zip

GZip – using mod_gzip, mod_deflate and htaccess

Posted on March 25, 2012 by admin — No Comments ↓

Apache server supports server level GZip compression with the help of module mod_gzip and mod_deflate. You can use this module and enable GZip compression for your website using htaccess file. First you have to check whether your hosting provider has Continue reading →

Posted in Software, Tips | Tagged apache, htaccess, zip | Leave a reply

PHP – Read files/content/file details from a .zip archive, without extracting them

Posted on March 24, 2012 by admin — No Comments ↓

The above code, gives an example of the methods to use for extracting the contents of files, or status and size of files, in a .zip archive.

Posted in Code, PHP, Tips | Tagged code, PHP, programming, zip | Leave a reply

PHP – Extracting a zip compressed archive into a folder

Posted on March 21, 2012 by admin — No Comments ↓

Below code sample is for extracting the contents of a .zip file into a folder given by ‘/test/’. Note that if the folder ‘test’ is not there, it is created. The method extractTo does the process of reading all files Continue reading →

Posted in PHP, Tips | Tagged code, PHP, programming, zip | Leave a reply

PHP – Creating a ZIP compressed archive

Posted on March 20, 2012 by admin — No Comments ↓

Steps in above code: – We create an instance of ZipArchive class. – We open (create if not present) a zip archive file by the name testBundle.zip – We add files into our archive.. and close. – That’s it, this Continue reading →

Posted in PHP, Tips | Tagged code, PHP, programming, zip | Leave a reply

Popular Posts

  • Ubuntu - Change MAC Address in Ubuntu
  • PHP - Obtain information about a class
  • REGEX - Find unclosed img tags
  • Linux - Installing Debian Packages Using DPKG

Poll

What's the best OS for PHP/MySQL development?

View Results

Loading ... Loading ...

Search By Tags!

analytics Anonymous apache benchmark c++ closures code cpu css dom exceptions fedora firefox funny gimp htaccess htacess html images install javascript jpeg jquery kubuntu linux linux mint Maverick Meerkat memcached mkv mysql mysqli netbeans nfs OpenSSL Operating Systems PHP pop3 precise pangolin programmers programming quality quotes recursion Regular Expressions security server software stuff subtitles suse telnet tmpfs tools traits tweaks ubuntu ubuntu server unix Virtualbox vlc web2.0 web marketing work worpress yui zip

Blogroll

  • Android Developers Blog
  • Cats Who Code
  • Developer Blog
  • Planet MySql
  • Planet PHP
  • The Code Project
  • WordPress Planet
Copyright © 2013 WhileIf Blog . All Rights Reserved.
Powered by WordPress | Theme: Catch Box