PHP
Installing Lighttpd on Ubuntu 11.10
Andreas — Sun, 2011-11-20 00:07
When installing Lighttpd on Ubuntu 11.10 remember to enable "fastcgi-php" as well. After an hour of googling I still couldn't get PHP to work. I created an empty index.php in the webroot (/var/www) and got "403 - Forbidden".
PHP best practice tip: commas in arrays
Andreas — Sat, 2009-01-10 03:18
Something I discovered by accident. The array() constructor allows a comma (,) after the last item. This helps me and saves me time by avoiding bugs. I'll show you...
Add language and import translations through profile in Drupal 6
Andreas — Sat, 2009-01-03 01:27
At work were developing sites almost exclusively in Drupal 6, except for our own self developed E-business solution. Most of our site are in swedish, so I've found a way to add swedish and import all the available .PO-files. I do this in our own installation profile.