You are here: Re: moving a existing file from one folder to another « PHP Programming Language « IT news, forums, messages
Re: moving a existing file from one folder to another

Posted by Good Man on 11/19/66 11:45

"Chung Leong" <chernyshevsky@hotmail.com> wrote in
news:1145385967.253288.226700@i39g2000cwa.googlegroups.com:

>> >> > You need rename(), I believe.
>> >>
>> >> keep in mind that rename() is useless on windows boxes:
>> >> http://ca3.php.net/manual/en/function.rename.php#59570
>> >
>> > Have you tested this yourself? I haven't seen anything of the sort
>> > described. Rename worked as it should (on WinXP).
>>
>>
>> yes, sorry, that comment refers to renaming FOLDERS as useless/totally
>> buggy on windows; renaming files works properly.
>
> Renaming folders works too.

ahhh, but read the note. Yes, the folders are sort of 'renamed' - but did
you compare the contents of your 'renamed' folder to the 'original'
folder?:

"If you're trying to rename a directory, files within the directory will
NOT be present in the renamed directory, though sub-directories WILL be
present. Ultra-strange. And as noted, your 'old' directory will remain on
the server totally intact, which can be very confusing."

confirm?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация