Reply to Re: One uploaded file - several different references?

Your name:

Reply:


Posted by petersprc on 04/19/07 14:00

Hi,

You could key the files by an auto increment ID to avoid any name
collisions. When saving the file on disk, you could incorporate the ID
into the path, or just create a random string.

On Apr 19, 2:23 am, Nosferatum <John.Ola...@gmail.com> wrote:
> Before I start and try to solve my problem, I wonder if anyone can
> help me with my challenge:
> I want to make a system to upload files (mostly word and pdf-files),
> store them in the file system and store metadata in a mysql db.
>
> I will sort all files into one of five main categorys. In addition, I
> will associate each file in a sub-category for each main category. I
> know I will get instances where the same file name (the uploaded file)
> will exist in all main categorys and also in the associated sub-
> categorys, but the file content will be and shall be different in all
> cases.
>
> Will this be an impossible task to cope with?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация