$dirfilename = $url; $dirfilename = s|http://foo.bar.com/||;