Dave Lozier

…listening to Black Sabbath at 78 speed

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 php libapache2-mod-php5                install php-pear                    install php5-cli                    install php5-common           […]

vsftpd, GnuTLS error -12 and Filezilla

I recently had an issue with a user not being able to log into their FTP account. I have vsftpd set up to use TLS encryption. When using Filezilla to connect to vsftpd with explicit TLS you may see something similar to the following output: Status: Resolving address of www.example.com Status: Connecting to… Status: […]

YUI Simple LightBox using SimpleDialog

There does not seem to be many options for lightbox functionality when it comes to YUI. I’ve come across two so far and they both are great but they are also a bit heavier than I wanted. I really enjoy working with YUI, especially as my understanding of the framework grows. I wanted a lightbox […]

PHP 5.3 Released!

PHP 5.3 has been released. Also, Eclipse Galileo was recently released as well as PDT 2.1 which has support for PHP 5.3! The PHP development team is proud to announce the immediate release of PHP 5.3.0. This release is a major improvement in the 5.X series, which includes a large number of new features and […]

New PHP Intepreter-Based XSS and SQL Security Tester

Researchers from MIT, Stanford and Syracuse have developed a program named “Ardilla” which can analyze PHP code for Cross-Site Scripting (XSS) and SQL injection attack vulnerabilities. The researchers say Ardilla found 68 never-before found vulnerabilities in five different PHP applications using the tool — 23 SQL injection and 45 XSS flaws. Ardilla is an automated […]

Zend Framework 1.8.2 Released

This is a maintenance release but well worth upgrading to of course. The Zend Framework team is pleased to announce the immediate availability of the 1.8.2 release. This release is the second maintenance release in the 1.8 series. Fixes for this release focus on Zend_Db and autoloading improvements. In all, over 50 issues were closed […]

Zend Framework 1.8.0 released!

Zend Framework 1.8.0 has been released. This is the first in the 1.8 series of releases. You can get it here: http://framework.zend.com/download/latest Over 200 bug and feature fixes have been added for this minor release! Here is list of the primary feature additions for Zend Framework 1.8.0: Zend_Tool, contributed by Ralph Schindler Zend_Application, contributed by […]

Create a MySQL Database from the Command Line

Every now and then I find myself needing to create a MySQL database while on the command line. Often it is just as fast or faster than loading up another program or accessing phpMyAdmin in a browser. So, first things first, we need to connect to the database: mysql -u root -p MySQL will prompt […]

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 […]

Zend Filter StripTags XSS Vulnerability

Just a heads up to those using the Zend Framework. Wil Sinclair posted the following to the Zend Framework announcements mailing list: The Zend Framework team was recently notified of an XSS attack vector in its Zend_Filter_StripTags class. Zend_Filter_StripTags offers the ability to strip HTML tags from text, but also to selectively choose which tags […]