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
Uh – nevermind, I found a solution.
basename() and dirname() seem to be providing the functionality I need.
(I’m still going to get my upgrade, tho.)