[snip] I'd say it would be best to keep that slash out of the filename. Do a regex on the string before doing anything else.... preg_replace ( "/\//", "-", $string ); [/snip] That is what I ultimately told them, "Don't do that." Of course they looked at me like I was a space alien (which I am today, but that's not important now). I asked if they wanted to know the technical bits to which they all vigorously shook their heads. But I will check the strings and *ahem* 'fix' them just in case. BTW, my daughter got her learner's permit today! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php