I'm looking for a way to tie certain file names to the url from which they originate. I wanted to use base64 encoding of the URL as the file name but it includes '/' and '=' characters which don't play well with browsers or file systems. Is there an alternative within PHP that sticks to a 0-9 A-Z a-z character set?