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 [...]
Archive for May, 2010
PHP-tip: How to fix problems with file permissions
May 14th, 2010
No Comments
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
May 11th, 2010
No Comments
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 [...]


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