Re: note 11277 added to tempnam

From: Date: Wed, 14 Feb 2001 02:06:28 +0000
Subject: Re: note 11277 added to tempnam
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-11025@lists.php.net to get a copy of this message
Ehem, that is not true (PHP 4.0.3pl1). Two different runs on Solaris 2.6 give the following output: /var/tmp/fname0KUEZB /var/tmp/fname8pElb_ using the code: <?php echo tempnam("/var/tmp","fname"); ?> Check the man page for tempnam in your particular OS, that could be the problem (i.e. your system libraries), if so, please submit a bug report (bugs.php.net) and check there if someone has already submitted a similar bug. Your note will be removed. --- seeliger.curt@epa.gov wrote: > Note that tempnam('/foo/bar/', 'fname') will return > as a file name '/foo/bar//fname', which isn't as > useful as one might hope. > > http://www.php.net/manual/en/function.tempnam.php > > > -- > PHP Notes Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-notes-unsubscribe@lists.php.net > For additional commands, e-mail: > php-notes-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== --- Jesus M. Castagnetto <jmcastagnetto@php.net> __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/

« previous php.notes (#11025) next »