#1
|
||
|
Just a little help?
Ive sene these posted already, but no one seems to answer or have an answer.. and Looking at the dates on some of these.. Not to many venture around here much anymore..
But here goes. I have created multiple instances of the phUpload.php file and have renamed them all for specific users.. I've tried messing around with the code a bit but I cant seem to get it to work.. I want it to be able to overwrite a file thast already uploaded.. ( Example> You make upload a file called index.html, you update your page, you upload it, to overwrite it, so you get the updated page) But im not quite sure on how to change the code in the file so it overwrites instead of asking you to rename the file. 2nd thing I did try.. in which I failed to accomplish. Creating more upload boxes instead of only have 1 box to upload 1 file... having to do Multiple Files instead. Any help would be Great. Thanx in advance, CrossFire-Radio ------------------------------------------- DJ Fire Station Owner http://www.crossfire-radio.com |
#2
|
||
|
Sorry for the double Post.. But has there been any Fix for the Password Part ?
|
#3
|
||
|
Multiple uploads will require a bigger script change.. I'll see about that one.
You'll have to remove the file if it exists because on some servers php will not overwrite it. But, the code would be something like: If(file_exists(_FILE_)) { unlink(_FILE_); }
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|