Thanks to all who provided input.
The basename function does the trick (as pointed out by Serge).
Once again thank you ;-)
/Christian
-Original Message-
From: Serge Nicolas [mailto:[EMAIL PROTECTED]]
Sent: 9. oktober 2001 18:37
To: Christian Sandfeld
Subject: Re: [PHP-WIN] Stripping
I created this function
http://www.key5.com/demo/getpath/getpath.php3
Take a look.
Be careful that sometimes you must use (-4) to get the -second level of
path.
- Original Message -
From: "Christian Sandfeld" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 09, 200
Oh, I should probably have mentioned that what I want to end up with is the
stuff to the right of the last slash (be that forward of backslash).
/Christian
-Original Message-
From: Christian Sandfeld [mailto:[EMAIL PROTECTED]]
Sent: 9. oktober 2001 15:41
To: '[EMAIL PROTECTED]'
Subject: