can any php/regex guru’s help me?

I need some help with a small php function problem:

I need a function that does the same thing as pathinfo() [Link] until such time as I can brow-beat someone into upgrading the version of php being used on the server a site I’m working on is going to be published to.

From the function reference found here, it seems like it should be relatively simple to solve using regular expressions. I’m going to take a crack at solving the problem myself, but I thought it wouldn’t hurt to ask for help here as well.

Edited on Apr 1st 2003, 01:07 by Hooloovoo

Edited on Apr 2nd 2003, 17:27 by Hooloovoo

Caveat Lector, meet GLUE

I’ve begun work on making “House of Blues” and “Stormy Night” XHTML Compliant (for SuperGLUE – and becasue I should tweak them anyway.)

Last night, (while fighting with CVS,) I was thinking about creating a theme based on Caveat Lector (minus the photo on the left. (I think I have one of my own I can replace it with.)

I want to do it because I think it might be fun to try something a little different, and Dorothea says I can. =) Work on that will commence after I finish the XHTML conversion and style sheet tweaks on the 2 themes mentioned above. (No, Zhaneel, I haven’t totaly forgotten about your feedback.)

Anyway, just thought I’d blog my idea so I’m more likely to actually do it, (or so someone else can beat me to it.)

Edited on Feb 21st 2003, 01:42 by Hooloovoo

Look Ma, no Windows!

So, I had to go buy a PC serial cable to hook up an external 56k modem salvaged from the bottom of my “obsolete” hardware box. (That would be all the crap from old computers I’ve never recycled or thrown out.)

A few clicks around in the network configuration tool, and I have established a dialup connection on the Linux side of my dual-boot system. I’m feeling quite proud of myself. 🙂

Now I just have to figure out what I want to do next…

-Hool

Diving back into linux…

I have a passing familiarity with linux. I kind of have to, seeing as how most of the web sites I maintain (both work and personal) are hosted on linux boxes. I want to learn a lot more. I’ve played around with a couple different distributions over the last few years. hooloovoo.net started life as an old HP vectra funning FreeBSD. (That box, minus the HD, has been riding around in the trunk of my car since 1999 – I wonder if anything on it still works…)

I got ahold of a copy of RedHat 8.0 last night. I stuck the 4gig HD from the old FreeBSD system into my current PC and set up a dual-boot Win98/RH8.0 machine. The setup went smoothly, and I think I’ll have a lot of fun mucking about in this version of RH, but I won’t be able to do anything “useful” until I get an internet connection working.

I know that my internal modem is a winModem, and while I might be able to get it working, it’s probably going to be a pain in the ass. I’be been poking around a bit online, and I think I have a couple of solutions, but I need to double-check the modem’s chipset to make sure I’m grabbing the correct RPMs and such.

I’m almost tempted not to bother, and just dig out an old 56k external modem and be done with it. Or convince my wife we really do need broadband. 🙂

-Hool

Attack of the Killer Nested Tables

I took a major step backwards in my attempts to write better structured HTML at work today. I’ve resorted to using a few nested tables in a layout that I’m currently working on. The reasons are “ehh”: time allocated to the project (almost none), possible future replacement of the navigation with flash will be easier (I think), working from a mock up done by a print designer (print != web).

I can’t help but feeling like I’m moving back towards 1999/1998 with this layout. So much code to display so little content… This layout leaves a bad taste in my mouth. (It’s either that, or the salt bagel I just ate…)

-Hool