background preloader

Php

Facebook Twitter

Api

Regulière. Detect. CGI Environment Variables. Accueil. First release of phpUnderControl - Manuel Pichler. This is the first release of the phpUnderControl tool.

First release of phpUnderControl - Manuel Pichler

This tool aims to take the first steps with CruiseControl and PHP as easy as possible. phpUnderControl integrates three of the best PHP development tools into CruiseControl, combined with an easy setup routine and a small example project. With the provided XSL-Stylesheets the generated output of PHPUnit, PHP_CodeSniffer and phpDocumentor can be visualized in CruiseControl, as you can see in the following screenshot. Getting started Now let's take a look how to start with CruiseControl and phpUnderControl. The first things you need is a Java environment and a working installation of CruiseControl. Getting a working CruiseControl installation is a simple task.

Cruisecontrol-bin-2.7.zip When the download has finished, just unzip the archive. unzip cruisecontrol-bin-2.7.zip -d /opt/ Now, that you have a working CruiseControl, download the phpUnderControl tool from the following url and unpack the archive: phpUnderControl-0.1.0.tar.gz to. Comparing Dates in PHP. January 18, 2006 When I first started working with PHP to create dynamic website content, it was mostly for simple directory projects.

Comparing Dates in PHP

This included a simple admin with the ability to add, edit, and delete pure text. I remember the very first commercial project I worked on involved a directory listing of businesses, organized by location. Each listing had a name, address, city, state, zip code, phone number, fax number, website (if it had one), and main contact. The directory was location-based, so a viewer could select a state, and then a city to view relevant listings. At this point we had two options: (a) manually "de-activate" the coupons via the administrative interface, which mean we would have to keep a spreadsheet, or refer to something basically every day to determine which coupons had expired, or (b) write a script to automatically de-activate the coupons when they reached their expiration date. Entering dates was easy enough. 1. And there you have it! Tutorials (Page 3)

2008 Jun 18 PHP Basic Pagination Have a whole lot of information?

Tutorials (Page 3)

Want to separate it into pages, with first/previous/next/last links? Read on! 2008 Jun 9 Debugging: A Beginner's guide This tutorial aims to teach a beginner some useful tips to help them solve errors painlessly. 2008 Jun 7 OO PHP Part 2: Boring OO Principles Provides some basic explanation of various OO design principles. 2008 Jun 6 OO PHP Part 1: OOP in Full Effect Comprehensive overview of what OOP features PHP has to offer, written for the OO novice, but useful for those with previous knowledge of it as well.