note 80897 added to function.rename

From: Date: Wed, 06 Feb 2008 01:09:29 +0000
Subject: note 80897 added to function.rename
Groups: php.notes 
Request: Send a blank email to php-notes+get-135808@lists.php.net to get a copy of this message
This might be a similar problem to what happened to: jmalinsky at gmail dot com 10-Dec-2005 08:41 Apparently rename() will fail on filenames that are too large and emit an E_WARNING. I was using rename() 'batch-move' a bunch of images. These files were lost in translation; in other words: deleted. One file, however, was moved but the filename was truncated. Weird. Why one or two files while the rest were deleted. This was being attempted on a Windows box. I hope this helps anyone. If anyone has an explanation please feel free to email me. But if you're one of those idiots who *thinks* they're better than everyone and you *think* you know everything, don't bother. ---- Server IP: 203.202.10.60 Probable Submitter: 202.7.166.165 (proxied: 60.241.17.245) ---- Manual Page -- http://www.php.net/manual/en/function.rename.php Edit -- https://master.php.net/note/edit/80897 Del: integrated -- https://master.php.net/note/delete/80897/integrated Del: useless -- https://master.php.net/note/delete/80897/useless Del: bad code -- https://master.php.net/note/delete/80897/bad+code Del: spam -- https://master.php.net/note/delete/80897/spam Del: non-english -- https://master.php.net/note/delete/80897/non-english Del: in docs -- https://master.php.net/note/delete/80897/in+docs Del: other reasons-- https://master.php.net/note/delete/80897 Reject -- https://master.php.net/note/reject/80897 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#135808) next »