|
Posted by Robert Cummings on 10/22/05 05:47
On Sat, 2005-10-22 at 10:02, Jasper Bryant-Greene wrote:
> On Fri, 2005-10-21 at 21:01 -0400, Robert Cummings wrote:
> > Oh I know, I was just pointing out that it won't work :) Doesn't work
> > because it only strips off the first path segment (assuming no off by
> > one error also ;). For instance:
> >
> > /a/b/c/d/foo.php
> >
> > becomes:
> >
> > a/b/c/d/foo.php
> >
> > but the OP wanted:
> >
> > foo.php
>
> It will actually work... Did you not notice that he was using
> strrpos() ? Note the extra 'r' in there :) http://php.net/strrpos
Yep I stand corrected :) Didn't notice the extra 'r' at all *heheh*.
Cheers,
Rob.
--
..------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
Navigation:
[Reply to this message]
|