Hi, i'm trying to do an image upload script. The problem i'm having is the file name part. Originally I created a random number but I realized it was a good idea to have the tile of the image within the name so I've decided to go for the title - some random numbers (to avoid duplicates). I was wondering if anyone knew what things I would have to strip/replace from a title to create a valid file name and what's the best way of doing it. Would appreciate any help. Thanks