Zip files using PHP without the PHP zip function: PHP Zip Class

22nd August 2009 • 64 Comments

The search for a PHP class to zip files has taken me well over 2 years. Going from not being able to find ANY to being able to find some that worked but wouldn’t unzip on MAC, the search seemed as if it would go on forever. A lot of web hosts don’t have the PHP zip function installed yet creating zip’s is quite important and handy to a lot of project. Today my search is finally over and I have finally found an easy + working PHP class for zipping files.

(more…)

Read More

Speed up your websites using gzip and merging files.

20th October 2008 • 38 Comments

Many sites these days are using more and more Javascript and CSS which can quickly slow the websites loading speed. Gzip compression for your Javascript and CSS is not used in enough websites these days as many people still fear incompatibility with browsers. However this is no longer the case as all modern browsers are now compatible with it. There are heaps of ways to Gzip, none of which I could get to work on my web host, so I created my own which uses the zlib extension in php. I also included a few advantages to it such as merging of files which helps decrease the loading time even more.

(more…)

Read More