ID:               43877
 Updated by:       [EMAIL PROTECTED]
 Reported By:      stefano dot sanguineti at selesta dot it
-Status:           Open
+Status:           Bogus
 Bug Type:         Filesystem function related
 Operating System: Linux
 PHP Version:      5.2.5
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.


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

[2008-01-17 14:54:58] stefano dot sanguineti at selesta dot it

Description:
------------
Until 5.2.3 a file created with tempnam had relative path.
After this version the file have absolute path.

Reproduce code:
---------------
PHP 5.2.3:
$report=tempnam('temp', 'report.rpt');
echo $report;
temp/report.rpt


PHP 5.2.4 and 5.2.5:
$report=tempnam('temp', 'report.rpt');
echo $report;
/usr/local/apache/htdocs/temp/report.rpt





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


-- 
Edit this bug report at http://bugs.php.net/?id=43877&edit=1

Reply via email to