I have little upload script and i wonder how to rename a file if the file with same name already exists.
web3 0 Junior Poster in Training
Recommended Answers
Jump to PostGood idea.
Most filenames for uploaded files are pretty meaningless once automatically renamed, but this isn't a problem. Some use a DB to link a 'pretty' false name to a datestamped (renamed!) name. A dynamically-created link for the image could be:<a href="images/user127_372183294748909.jpg" title="...">dogkennel.jpg</a>
Which could be …
All 4 Replies
roycowebdesign 0 Newbie Poster

diafol
network18 15 Practically a Master Poster
hemgoyal_1990 5 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.