in reply to Re: A better way? Extracting filename from url
in thread A better way? Extracting filename from url

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

  • Comment on Re: Re: A better way? Extracting filename from url