Author Archive

Being a standard browser

I’d like to stir up some controversy with this post. I would like the W3C to say that in order for a browser to call it self a standard it needs to be available for all three OS platform. That means: Safari must be developed to work under Linux. Internet Explorer must be developed to [...]

Standards matter

Some thoughts regarding the Browser World War 2 in 2010.

Computing HTML5

I’ve just recently tested the HTML5-site at Apple, and one at Microsoft. Except that a lot of the example HTML5-pages that are on those websites are amazing, I also noticed one more thing: Quite a lot of the examples needs computers with lots of computing power. I experienced this by noticing that my computer, a [...]

Proposal: Windows-tag in HTML5

Suggestion: windows tag Usage: If you want to create a modal form/window, a “popup” or a lightbox you have to use Javascript. I am suggesting this tag to remove the javascript need to create such a standard feature on the web. This technique uses iframe and css to create the look. Implementation: I am suggesting [...]

PHP-Tip: Commenting your code

This really isn’t a PHP-tip, but more like a programming tip. But since I do most of my development in PHP (and some in C#, and some on VB) I put it up as a PHP-tip. So there. This post is all about commenting. Some do it, some don’t. I tend to do it. Sometimes [...]

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 [...]