Archive for the 'php' category
Snippets
0 comments 12th of April, 2008 Håvard WWW WWW/javascript WWW/php
Every time I start on a new coding project I roam through past projects, hunting for useful snippets of code that’ll solve whatever it is that I’m currently doing in a faster and more efficient way. This goes for both CSS-hacks, PHP-hacks and JavaScript-hacks. However, roaming through all the different projects for just the right [...]
Sessions on (mt) Media Temple’s (gs) Grid-Server
5 comments 24th of April, 2007 Håvard Hosting WWW/php
Not long ago, I uploaded latest version of a project I’m working on to my production server at (mt) Media Temple, only to discover that users were kicked out of the system no less than five seconds after logging in.
At first I didn’t know what was causing this, so I went through most of my [...]
Simple PHP-login script using session and MySQL
71 comments 11th of March, 2007 Håvard WWW/php
I came across a short tutorial on how to make a session based login script, using PHP and MySQL. However, I felt that the tutorial did have several shortcomings in terms of its code, and so I felt like writing a short post on how I would go about doing the same thing, elaborating the [...]