This sounds like the best way to me. Don't forget to uri_unescape() (or whatever it's called; I don't quite recall) the filename part to deal with stuff like "file%20name.htm".
Thanks,
James Mastros,
Just Another Perl Scribe
In reply to Re: Re: A better way? Extracting filename from url
by theorbtwo
in thread A better way? Extracting filename from url
by Gerard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |