Author Archive

PHP-tip: How to fix problems with file permissions

Have you tried to create or read a file with fopen, file_get_content or file_put_content and only getting permission denied. A reason for this error message can be that the file you are about to read/write already exists and with your account as owner. A quick, and safe, fix is to change the owner and group [...]

Virtual Ubuntu

Because of an introduction to laptop at work, I have to bring my laptop back and forth to work. Because this isn’t my laptop I feel that I cannot run Ubuntu Linux as the main OS – although I wish I could. Instead I have to rely heavily on windows 7 and VirtualBox. As of [...]

No more c# on iPhone

Apple does not stop to surprise me. Luckily I haven’t started writing iPhone/iPad applications, and I am not sure if I want to either. As a Linux / windows user as I see it, I cannot create an application in my development environment. What do I have to do? Buy a Macintosh ($999 for MacBook) [...]

Download direct from ftp-server with php

For a web solution I am currently involved in I had a challenge where files from a FTP-server should be downloaded from the webserver. Thanks to a solution provided by NogDog to cesarcesar @ CodingForums.org in 2007 I managed to solve this. This is the solution: First you connect to your ftp-server $connection = ftp_connect($ftp_server); [...]

Spec for an iPhone/Ipad application

Over a beer (or two) me and a few friends started discussing all the different and unnecessary iPhone applications available. So we came up with the following idea: Wife: An iPhone/iPad application that bugs the living …. Out of you. It shall remove/lock any contacts where name resembles a women or a person interested in [...]

My experiences with ISPConfig

I’ve installed ISP Config on my virtual server. Mostly for setting up setting up domains that I control. First I installed ISP Config 2, then I found out that the Virtual Server Provider (VSP) had a script for setting up ISP Config 3. So I cleaned the server and set that up in stead. I [...]

A short little blog after moving

Recently I moved from one web host to another since the other had Virtual Server Hosting. It now reminds me when I ran a very small hosting company delivering hosting services. Recent days I’ve have been dealing with a client that has some 2 GB of e-mails that needs to be transfered from his Google [...]

Ubuntu 10.04 – pretties ever

Canonical Ltd. has published screen shots from the upcoming release, 10.04 – The Lucid Lynx. And it looks awesome. I am really looking forward to installing this LTS version as a clean install and not as an upgrade. With LL Canonical proves that Linux as an desktop OS can look pretty and for some that [...]

Apple suing mobile maker

On March 2, 2010 Apple decided to filed a lawsuit against the mobile maker HTC. According to their website HTC is infringing on no less than 20 Apple patents. It’s not the first time Apple files a lawsuit against another mobile manufacturer. In 2009 Apple was taken to court by the Finnish mobile company Nokia [...]

The browser choices and their sales pitches

Internet Explorer is the world’s most widely used browser, designed by Microsoft with you in mind. I think that Microsoft wins this “contest”. When you look at it you’ll most likely ask your self: Would I use the most widely used browser? And most likely you’ll answer: Yes I would like to use what everybody [...]