You are here: Re: Help with rename and unlink script please « PHP Programming Language « IT news, forums, messages
Re: Help with rename and unlink script please

Posted by otrWalter on 10/11/24 11:48

Dynamo wrote:

> That seems like a lot of code to do something relatively simple. So my question
> is, is there a simpler way like forcing the rename function to overwrite an
> existing file with the same filename if it exists.

Yes, file upload can be a PITA, if not done right or well.

After searching, digging through scripts, I finally sat down and made a
class for myself to handle all this.

A few friends tol me to shar eit, so I did...

https://sourceforge.net/projects/php-yacs

the DOWNLOAD has nothing behind it yet, as I can't figure out how to do
that yet. But you go to CVS link, you can get the FILE directory (which
contains the php files) from there.

Hope it helps you.

It renames, moves, copies files as you decide. defines a new name for
an upload if you like. Will overwrite files, if you like, etc.

contact tme if you have any questions (or can tell me how to get SF to
have my set of files download via thier DOWNLAOD button.

Walter

 

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

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