ID: 9249
Updated by: elixer
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Filesystem function related
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

The sample code you provide works perfectly for me.  Try with the latest cvs snapshot 
(http://snaps.php.net/) and see if that fixes it on your end.

Sean

Previous Comments:
---------------------------------------------------------------------------

[2001-02-13 19:33:20] [EMAIL PROTECTED]
$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.

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9249&edit=2


-- 
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]

Reply via email to