|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-04-27 21:46 UTC] elixer@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 14:00:01 2025 UTC |
$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.