943,931 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 796
  • PHP RSS
Oct 27th, 2007
0

File upload - advanced help

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gustavobrust is offline Offline
2 posts
since Aug 2006
Oct 27th, 2007
0

Re: File upload - advanced help

i dont think you can do it...
only way creating sub directory will be good.
Reputation Points: 6
Solved Threads: 19
Posting Whiz in Training
fatihpiristine is offline Offline
283 posts
since Sep 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: libgr-progs for OS X
Next Thread in PHP Forum Timeline: A Rating Script/Software similar to RatemyProfessors.com





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC