php

airplane, buildings, perspective-1807486.jpg

List installed PHP packages on Ubuntu and Debian

If you have ever found yourself wondering what PHP packages are installed on a Debian or Ubuntu server you can run the following from the command line. dpkg –get-selections dave@darkmetal:~$ dpkg –get-selections | grep phplibapache2-mod-php5 installphp-pear installphp5-cli installphp5-common installphp5-curl installphp5-dev installphp5-gd installphp5-mcrypt installphp5-memcached installphp5-mysql installphp5-xdebug installphpmyadmin install In my example I am piping the output

List installed PHP packages on Ubuntu and Debian Read More »

pipes, ventilation, metal-4161383.jpg

Getting Started With Zend Framework

The Zend Framework library is based around the MVC (Model, View, Controller) and Front Controller design patterns. The Front Controller is the point of entry for all requests that are NOT being served up directly by your web server. Such requests include style sheets, javascript, images and other static files. Zend Framework implements the front

Getting Started With Zend Framework Read More »

computer, notebook, coffee-820281.jpg

Coding Mistakes PHP Newbies Make

1. Never trust user input! Doing so can lead to security issues such a hijacked sessions, SQL injection and your entire site being compromised. This goes for all of the PHP superglobals such as $_SERVER and not just $_GET, $_POST and $_REQUEST arrays. The only exception would be the $_SESSION superglobal as this persists on

Coding Mistakes PHP Newbies Make Read More »

Scroll to Top
foliaceous