With PECL Zip you can read, add, delete, set and read archive comment, it’s a very useful package for searching and managing Zipped archive kind of data.
let’s begin with the installation
fire up your PECL installer to install Zip; you’ll see some information verbosed while installed PECL Zip like the following
wget http://pecl.php.net/get/zip && tar -zxvf zip && cd zip-1.6.0/ && phpize5 && sudo ./configure && sudo make && sudo make install
During the installation you will be flooded with verbosed information ; it’s useful to watch and try to understand what’s going behind the scene; keep your eye on the verbose to see if any error popup like missing library or permission problem, if the installation went fine; at the end you will see
Read the rest of this entry »
Posted on Thursday, July 27th, 2006
Under: Code, HowTo, PECL, PHP | 2 Comments »

it may sound exaggeration but it’s not
Tags: software development process, exaggeration, cartoon
Posted on Sunday, July 23rd, 2006
Under: General | No Comments »
First I decided to role tutorial from scratch about UML and PHP but while doing the research I found at least three tutorials much better of what I could write so I’ll be quoting others
What is UML?
Umbrello docs – The Unified Modelling Language (UML) is a diagramming language or notation to specify, visualize and document models of Object Orientated software systems. UML is not a development method, that means it does not tell you what to do first and what to do next or how to design your system, but it helps you to visualize your design and communicate with others. UML is controlled by the Object Management Group (OMG) and is the industry standard for graphically describing software.
Read the rest of this entry »
Posted on Saturday, July 15th, 2006
Under: HowTo, PHP | 3 Comments »
The Open Web Application Security Project released a helpful document that lists what they think are the top ten security vulnerabilities in web applications.
These vulnerabilities can, of course, exist in PHP applications. Here are some tips on how to avoid them. I’ve included related links and references where relevant.
1. Unvalidated Parameters
Most importantly, turn off register_globals. This configuration setting defaults to off in PHP 4.2.0 and later. Access values from URLs, forms, and cookies through the superglobal arrays $_GET, $_POST, and $_COOKIE.
Before you use values from the superglobal arrays, validate them to make sure they don’t contain unexpected input. If you know what type of value you are expecting, make sure what you’ve got conforms to an expected format. For example, if you’re expecting a US ZIP Code, make sure your value is either five digits or five digits, a hyphen, and four more digits (ZIP+4). Often, regular expressions are the easiest way to validate data:
Read the rest of this entry »
Posted on Friday, July 7th, 2006
Under: Code, Community, PHP | No Comments »
The Zend Framework community has released another preview release adding new components into the core, increasing the number of nascent incubator components, and now providing the manual in 10 languages. Along with the 0.1.4 release comes a new end-user community wiki, development wiki, issue tracker, changeset browser, and other infrastructure changes to help the community track the progress and be involved in the project.
A special ?Thanks? goes out to all contributors for both the release and working through the infrastructure changes for the working project. We received a great number of contributions for code, documentation, translations, testing, feedback and help migrating from our old systems to the new.
The release can be downloaded from the Zend Framework Web Site.
Tags: infrastructure changes, zend framework, issue tracker, preview release, code documentation, special thanks, release 1, translations, languages
Posted on Sunday, July 2nd, 2006
Under: Community, Frameworks, Zend | 1 Comment »