PHP Commandline Script in Farbe

Bei PHP Gangster hab ich soeben eine kleine Klasse entdeckt mit der CLI Scripte farbige Ausgaben machen können …

Usage:

 
$color = new Color();
$color->set('red');
 
echo "red textn";
 
$color->reset(); 
$color->echoString("red text on bluen", 'red_u', 'blue');

New Google Ranking Checker with Locale-Support

A new release of the Google Ranking Checker Class is available now. The new version 1.2.0 is released under a Creative Commons license (by-sa 3.0) and supports locale settings for language and country.

Read the rest of this entry »

PHP WebSocket Server – The Handshake

WebSockets are the new cool boys in town, but the specs are in a very early state and so it’s hard to keep up to date with the different browser implementations …

Read the rest of this entry »