From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.4pl1 PHP Bug Type: Filesystem function related Bug description: tempnam() may return bad filename $dir='/foo/bar/'; $prefix='prefix'; $tname=tempnam($dir, $prefix); print("tname"); prints '/foo/bar//prefiR5uKI4' It'd be nice if the first argument was checked for a final '/' before creating the file name. Thanks. -- Edit Bug report at: http://bugs.php.net/?id=9249&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]