Neil Turner's Blog

Blogging about technology and randomness since 2002


I’m feeling good right now. I’ve just created a PHP-based authentification system that allows you to log in, log out and change your password, with the details stored in a MySQL database. It uses a session cookie to offer a basic level of security.
Of course, it’s only a basic system but it’s the first time I’ve ever written anything like this so I’m feeling a little proud of myself. I need it for a project that’s due in on Monday, which also requires lots more PHP code before it’s ready. It also needs an proper interface designing for it. But this is a start at least.
Update, 9th Dec: I’ve now got it styled up using a stylesheet cunningly stolen from one of my templates, and it also allows you to modify things like your name and address (with errors thrown if you leave them blank). It’ll also gracefully throw a wobbly should you try to give yourself a blank password and will free up MySQL results and close the connections properly. And, most importantly, the main screen displays ‘Good morning’, ‘Good afternoon’ or ‘Good evening’ depending on the time of day 🙂 .
I’ve still got a bit more functionality to add but it’s nearly there now. Should be able to get that done tomorrow and then it’ll be finished. Only problem I can forsee is presenting the system on Monday afternoon, bearing in mind that the lecture theatre doesn’t have any networked computers, nor does it have wifi and that the project is hosted on my university web space. Either I’ll have to hope my ethernet cable is long enough to reach the ethernet socket by the door or I’ll be installing Apache on my laptop this weekend.
Unless anyone knows of a Linux live CD that comes with Apache, PHP and MySQL that’s ready to roll? Any help welcome.


  1. Congrats! 😀

  2. Excellent! I’ve been working on an XML based content management system myself.

  3. Your two options are xampp, although I hope they’re not actually using it on their website because it’s currently down. Or lamppix, knoppix strikes again!
    I haven’t tried either of them though, I use ubuntu in vmware. It lets me screw around with httpd.conf and php.ini without risking killing a real server.

  4. Personally, I develop locally on a Windows machine using Apache, MySQL, PHP, Perl and the UnixUtils – if you ensure you install ActiveState Perl to C:/usr/local/ then you can set it up so any scripts that run your Windows machine and be moved to a Linux based one with no changes at all.
    I’ve got a copy of Xampp myself to do the majority of the installation myself on my laptop – haven’t tried it yet, but it is meant to be good. First time in ages I’ve used an “Automatic LAMP installer”.
    But you meantion you are looking for a Linux app to do it for you – I’m not even sure there is a “Just LAMP” package as it should be easy enough to install all the applications using your preferred package installer – I know my Linux server at home (RH Fedora) installed all the necessary bits at first install (but that’s cause I probably selected them).