Have you ever been in the situation where you had to show a customer or a friend something you’ve worked on but only had it locally installed? In this case you either had to get the customer or upload and install it on some remote server in a test installation. This all costs time and isn’t exactly comfortable. As you … Read More
If you ever wanted to check if your website was accessed via curl or wget and handle those cases differently you’ve come to the right place. In PHP this is really simple. Just use the snippet below to check the user agent and you’re done. I used this snippet to differentiate a web user from the command line on the … Read More
Just as I set my foot into the TGV to France, I got the SMS from Apple that they delivered my MacBook Air. Luckily my sister was able to get the package in my absence. I arrived back in Switzerland on Thursday and been configuring my MacBook since then (With the exception of the 1. August as this is our national … Read More
Because of the RFC 6265 and for the SEO effort you should always redirect all your aliases to the www subdomain. Else all the cookies created for the robinglauser.ch (without www) will be sent to all the subdomains (e.g. cdn.robinglauser.ch). Also you don’t have the possibility to set multiple servers (Round-robin) for your domain, as there can be only one A … Read More
I just finished cleaning and organizing my websites. First of all I finally settled on a portfolio website after the 4th try. (You can find my other attempts here: http://alpha.robinio.ch/, http://beta.robinio.ch/ and http://gamma.robinio.ch/) Furthermore I updated and cleaned up this blog. Sadly a few images in the older post are magically gone so I’ll be looking into that at a later moment. Back to … Read More