Contact Me Portfolio Debates Random Rants Forums Home Page




insaneplayer88's Gamercard



Login
Register

Blogs -
Podcast -





BlogDirectory


Charlie Page.net - Rants Archive
        

All  #  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z

PHP + Zipping = Not easy
Posted: Feb 26, 2008 - 1:10 am
Author: admin
Section: Rants

Using PHP for now several years, every so often you are walking along the PHP trail when you smack into a steel wall. Not that I expected the Zip feature in PHP to be "really easy", but it couldn't be that difficult, right? Well aside from some small hiccups for a while, it wasn't tough.

Let me step aside first and explain. I was working on AdaptCMS, for v1.1 I was upgrading the gallery feature. A sort by feature, a few extra templates to control the look and then the zip feature. A person clicks on download and it generates a zip you download with all the images in the gallery, in it.

So getting back to it, I was using the built-in PHP ZIP function. So I got it working and built into the admin panel, before I take a break from coding I figured I would upload and take a gander. Right away I get an error, long story short the built in ZIP function is either only for PHP 5.2 and up, or a lot of parts of the ZIP function only work in 5.2 up. (built-in)

Continued...



Comments (0) | Post a Comment

------------------------------

Powered by AdaptCMS ProMortgage Calculator - Credit Card Consolidation - Money - Credit Cards