Cloudconnected - cloudconnected.fr - Cloud Connected
General Information:
Latest News:
Named function parameters in PHP 1 Feb 2012 | 10:53 pm
Officially, PHP doesn’t support named function parameters. But there is one easy way to emulate this feature – so easy that it doesn’t really matter that this feature is missing. It’s actually a prett...
Fixing WordPress auto-update 30 Jan 2012 | 03:49 am
Are you tired of WordPress failing to auto-update, and asking for a username for a FTP server even if every possible files and directories have the right permissions (i.e. are writeable by the web ser...
Bypassing PHP’s open_basedir with MySQL 26 Feb 2011 | 12:44 am
PHP feature open_basedir is supposed to limit the files that can be opened by PHP to a specified directory-tree (full doc is here). Functions like fopen or file_get_contents will returns an error if t...
Implementation of “tail -f” in PHP 29 Jan 2011 | 10:36 pm
This is a small algorithm to implement a functionality similar to “tail -f” in PHP. The script is able watch a file in real time and do something everytime a new line is added (for example, a log file...
Use destructor carefully 12 Jan 2011 | 11:45 pm
A couple of days ago I lost half a day of work on a stupid bug in a PHP CLI script. Basically, the script wouldn’t die. Instead it would hang forever, eating all the CPU time. Even explicitly calling ...
One PHP error log per developer 17 Sep 2010 | 03:50 am
At work we’re using a shared web development server, with a setup that allows every developer to have his own compartmentalized development space. It requires some tricky configurations, but in the en...
Google Chart PHP Library 0.4 15 May 2010 | 08:20 pm
I released a new version of my PHP library for Google Chart API. Remember it’s still in heavy development (well, depending on my free time and my motivation, so “heavy” is relative), therefore don’t e...
Announcing GoogleChart PHP library 0.3 29 Apr 2010 | 03:02 am
I’ve been playing around a lot with Google Chart API lately, mainly for fun to draw some charts based on my Last.fm profile (Last.fm provides a very nice API). Google Chart API is very powerful, but q...
Indentation avec des espaces pour les fichiers YAML avec SciTE 22 Jul 2009 | 08:06 pm
Vous utilisez SciTE comme éditeur de code, et vous l’avez configuré pour utiliser des tabulations pour l’indentation dans votre coding style ? C’est parfait, vous êtes sur la voix de la sagesse. Mais ...
Trees in SQL : an approach based on materialized paths and normalization for MySQL 27 May 2009 | 04:13 am
I’m working since a few months on how storing trees in MySQL. It started like “hey, let’s make a database of every genre of heavy metal music!”. So I began with the easy way : a tree structure in a ta...