Feed von
Beiträge
Kommentare

Monats Archiv für August, 2010

Valid Syntax errors: Part 1

It took me about an hour to spot a strange behaviour in my PHP skript:
Have a look at this code:
$foo = array ( ‘a’, ‘b’, ‘c’ );
foreach ( $foo as $bar );
echo $bar . "\n";
// Expected Output:
// a
// b
// c
// Actual Output:
// c

What happened?
Would I have used phpcs it would have [...]

Lese den ganzen Artikel »

Vegetarier

Danke Herr Becker:
Ich muss sagen, Vegetarier – schön und gut!
Aber immer nur Fritten is ja auch nix.

Lese den ganzen Artikel »

authLDAP

This is a plugin that allows you use your LDAP to authenticate and authorise users to access your wordpress web-log.
Installation should be as simple as instalaltion of every wordpress-plugin. Simply unzip the downloaded file, put it into your wordpress-installations plugins-folder and activate it.
After activation you can configure the plugin via the options-panel.

How does the plugin [...]

Lese den ganzen Artikel »

unserialize values

Last week I had the problem, that – due to a wrong database-entry – a serialized value got scrambled. And due to that (and some missconfiguration of the server) the application broke. Instead of a search result the user simply got an error message about not being able to unserialize the value due to an [...]

Lese den ganzen Artikel »