|
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]
|