While browsing around two things have caught my interest. The first is a great collection of tips in PHP that has some extremely nice code in it. My only objection to anything he has is when he discusses $PATH_INFO
, and gives the example:
<location "/products">
ForceType application/x-httpd-php
</location>
This is a hassle because it forces you to have a file with no extension, which under most operating systems doesn’t use the same handler as .php files, and it adds a needless step. Why does it seem that no one knows you can have a file called products.php
and use multiviews to access it just like you would above?
The other thing I ran into is a pretty neat little class called ezSQL that I think I’m going to use for a project I’m doing. I found out about it through an article called PHP and Working with Databases (for the Lazy Sod), which couldn’t have a better title, especially if targeting people like me. Interesting things to check out if you’re into that sort of thing.
Of course all this browsing was down to entertain me while I was trying to install Gentoo Linux, the most promising distro I’ve seen in a while. I wasn’t able to get it to work on either my desktop or laptop but I haven’t given up hope yet. If I run in to a roadblock however the problem is that I have rehearsals on Wednesdays now and wouldn’t be able to make it up to HLUG where maybe Mat could take a look at it. Worst comes to worst I’ll go to SuSE or something.
All this and I still need to clean up that mail script to send to Mike. Long day!
Of course now all this LDAP stuff is distracting me. I already use IMAP for getting to all my email so having a universally accessible contact list is quite attractive. We’ll see how that goes . . .