Uploading applications built with Zend Framework (or any other Feature Rich Framework) via FTP/SFTP is just boring and takes too long. Not to mention the size of your own application and additional third party files that you may need to upload to your server. One solution is to roll your own package that only includes... Read more »...
In writing an app that communicates notifications via HTTP requests, to a user specified URL, it brought up an interesting security question. How do you block them from requesting a URL that accesses the LAN ?. The function below was created to do just that. function isOnLAN($url) { $urlParts = parse_url($url); $domainName = $urlParts[‘host’]; $ip... Read more »...
Timezones available: timezonetowindows windowstotimezone territorytotimezone timezonetoterritory citytotimezone timezonetocity $form = new Zend_Form(); $timeZoneList = $locale->getTranslationList("timezonetoterritory"); $timeZone = $form->createElement('select', 'time_zone', array( 'filters'    => array('StringTrim'), 'label'      => 'Time Zone:', ))->addMultiOptions($timeZoneList); $this->addElement($timeZone);...
Allowing users to customize the look of your application is always welcomed. Here is one approach using Zend Framework. First lets look at the directory structure for creating a themeable application. Typical Layout: root — private — public —— css —— js —— images You’ll notice that all our publicly available files for stylesheets, javascript... Read more »...