|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-01-07 03:52 UTC] thies at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 17:00:01 2025 UTC |
If there is extra white space in the copy function it will cause the function to break. This happens on FreeBSD 2.?? and PHP 3.0.6 (I can't upgrade it), but does not happen on Linux 2.2.12-20 with PHP 3.0.12 so I don't know if it has been fixed or is platform specific. ------------------------------------------------------- $ABS_IMAGES_DIR=" /usr/www/users/XXXX/house/images/"; /// White space above before /usr/ $ImageFinal=$ABS_IMAGES_DIR.$new_file_name.$ImageExt; copy($image, $ImageFinal); Gets error: Warning: Unable to create ' /usr/www/users/XXXX/house/images/1RIMG2.jpg': No such file or directory in /usr/www/users/XXXX/db/menurent.php3 on line 306