•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 456,571 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,609 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 437 | Replies: 1
![]() |
| |
•
•
Join Date: Aug 2006
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Hello everyone!
I'm doing a website that has lots of pages - created by the user (a wiki style) - and any page can have attachments.
The file upload engine is working ok. I'm moving all the files uploaded to a specific directory.
The problem is:
As each page have it's own files, it is possible that two pages have the README.txt file, in example. How could I prevent that one page do not overwrite the file uploaded (with the same name) by the other page?
Any ideas?
Thank you all,
Gustavo.
I'm doing a website that has lots of pages - created by the user (a wiki style) - and any page can have attachments.
The file upload engine is working ok. I'm moving all the files uploaded to a specific directory.
The problem is:
As each page have it's own files, it is possible that two pages have the README.txt file, in example. How could I prevent that one page do not overwrite the file uploaded (with the same name) by the other page?
Any ideas?
Thank you all,
Gustavo.
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- File Upload Help (PHP)
- File upload problem (PHP)
- Need file upload code for word Doc (HTML and CSS)
Other Threads in the PHP Forum
- Previous Thread: libgr-progs for OS X
- Next Thread: A Rating Script/Software similar to RatemyProfessors.com


Hybrid Mode