24 December 2009 ~ 0 Comments

Zend Caveats

Zend Caveats

Ever gets frustrated during your coding? I’m pretty sure the answer is a big YES especially if you’re new with the programming language you’re trying to develop or you might have forgotten the old programming language you used to. Likewise, most of the time we get frustrated when there is a stumbling block during your development [...]

Continue Reading

Tags: , , ,

06 July 2009 ~ 0 Comments

PHP ZipArchive corrupted

PHP ZipArchive corrupted

If you experienced a corrupted zip file produced by ZipArchive on WampServer you probably have come to the right place. Apparently there has been a discussion on this long time ago but looks like Wampserver still uses the old php_zip.dll.
Well, nothing much to write about as it’s quite straightforward. You might want to try downloading [...]

Continue Reading

22 June 2009 ~ 2 Comments

Image Manipulation in PHP

Sometimes there is a need to do simple image manipulation for certain web projects. Take for example a popular site called Flickr. Flickr is an image hosting site that allows online community to store pictures for others to view. And for some cases some uploaders may have big image files and hence a site like [...]

Continue Reading

20 May 2009 ~ 0 Comments

Quick and Easy Way to Create Model Class in PHP

Ever experienced a boring and time-consuming task where you have to create a new class for your model object: declaring list of variables and creating the getter and setter functions? “Always” is my answer. Imagine if you have a long list of variables. “Shoot! NOT AGAIN” may be the first exclamation came out from you. [...]

Continue Reading

05 May 2009 ~ 0 Comments

Read Remote Content or File using Zend

Today I was looking around for sample to read a remote file in PHP or even better using Zend. Well there are quite a few good samples that demonstrate the use of native PHP functions: fopen, file_get_contents, or curl but I hardly find examples using Zend. Perhaps it’s just not my luck. But the good [...]

Continue Reading

Tags: , , ,