|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-01-20 14:49 UTC] iliaa@php.net
[2011-04-08 12:45 UTC] johnw at sussex dot ac dot uk
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 11:00:01 2025 UTC |
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