Some PHP stuff for you:
Ivan wonders when do sessions end?
It’s always been a hassle getting PHP4 sessions working as a backend to phplib sessions. Here’s how I did it:
- Download the latest phplib tarball (currenty phplib-7.4-pre1) and copy php/* into your include directory and customize as per the INSTALL docs.
session4.inc file from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phplib/php-lib/php/session/session4.inc and copy it into your a subdirectory of your include directory called “session”.
session4_custom.inc from phplib-7.4-pre1/unsup/ to your include directory.
- Edit prepend.php3 and change
session4_custom.inc and edit
local.inc and change your session class definition so that it inherits from
var $module = 'files'; to the session class so it’ll use PHP4.
user4.inc from phplib-7.4-pre1/unsup/ into your include directory and modify prepend.php3 so it includes that instead of user.inc
Now visit a page that has a page_open() call and take a look in /tmp/ for sess_* files.
It’s way faster than using a database for sessions!
There’s also more docs but I think they refer to different code.
Ivan has also written an article about php session security with some good points to follow.
Antefacto has stopped trading. There’s some really good developers looking for work now..
According to Stephen’s referers page people have hit his site 15 times from here, yet Site Meter didn’t record that many hits to this page. Looks like I’ll have to do something about that!
I added a refer list at the bottom of this page, thank you Stephen for that!
HTML Utopia — Designing Without Tables: Part 2 – must have a closer look at this.
There’s a work around for the recently announced OpenSSH vulnerability. Kevin Lyda posted the info about it to the ILUG a few minutes ago.
Jakob Nielsen got on a few people’s nerves recently.
Christina takes a shot at his use of statistics, which is only fair really. He makes assumptions about the whole Internet by visiting “15 sites??? 15 sites???” as she puts it’s herself!
Voodoo Economics makes for a good read if you think micro-payments will succeed. We tried it here at work with one product and people didn’t like it. Hell of a job admining it too!
Bonfire night was last Sunday. I’m not talking about the event in November either. We celebrate mid-summer, on St. John’s Eve by burning a large bonfire. Thing is, Martina didn’t know anything about it. I thought it might be a Cork City event but if you follow some of the links from Google it looks like it’s celebrated all over the country!
According to the papers it was a good night, the fire brigade were busy as always on that night, but they said there wasn’t much trouble. ‘Course, I missed it. I must be getting old or something!