Creating a PHP REST Routing Class for Your Application

The main features typically are: REST Routing Use different HTTP methods for same URL’s to determine different types of action / request Support dynamic URL segments Provide the capability for reverse routing; creating the destination URL from an array of route variables SEO friendly URL’s using a .htaccess to route all URL’s into your class

How to Upload and Unpack a Zip File using PHP

When you’re emailing or uploading larger files, it always makes sense to compress them first. This decreases file size and also helps avoid file corruption during transfer. The most common compressed file you will encounter is the zip file, since most operating systems come with a basic utility to quickly zip and unzip files. Creating …