You are here: Re: uploading several docs at once « PHP Programming Language « IT news, forums, messages
Re: uploading several docs at once

Posted by Chris on 08/07/06 16:32

Well, I guess my question sounds stupid because no one answered it. I'm
fairly new to this, I do understand uploading multiple files, my concern is
getting them input into the database properly. I have no one to consult or
brainstorm with here (I am an intern teaching myself php/mysql). Although
there are many references out there - books, online, newsgroups, etc., - I
have seen several approaches. I'm on a tight deadline to complete this
project, so to save time re-writing code, I would just like some advice on
the direction I should go with this - am I on the right track? Is there
already a concept out there so I don't have to re-invent the wheel?

Thanks,
Chris

"Chris" <designerNOSPAM@centurytel.net> wrote in message
news:eaqptc$md$1@news01.intel.com...
>I have a meetings section I'm developing on our intranet. Using PHP/MySQL.
>Meeting info and Meeting docs reside on 2 related tables in the db. Users
>may want to upload anywhere from 1 to 10 or more documents to share/use
>during a meeting presentation. What would be the most efficient way to
>approach this? This is the logic I'm currently considering:
>
> Page 1: Meeting Information input with link to a document upload page
> (this page already exists as a link for 'New Meeting')
> Page 2: Document upload page -
> 1. should I pass the mysql_insert_id() from the meeting ID on the
> previous page or
> 2. provide a select box that lists last inserted meeting on top as well
> as other meetings?
> I'm considering this because a manager may want to upload a doc for
> a meeting that they posted in the db earlier, but never got around to
> uploading docs.
> However, perhaps this should be an entirely different page to
> upload docs for already posted meetings?
> 3. should this page have several upload file inputs? If so, how many
> is reasonable?
> Page 3: Upload confirmation with a link ("add another doc for this
> meeting") that reloads the page as a sticky form if not enough links
>
> Another possibility is to have it all on one page, but I can see that this
> could get messy. I'm still new to PHP/MySQL so I have a hard time
> following code that is used in only one page, but revealing only the
> portion applicable. (i.e. if(submitted){do this} else {do that}. Seems
> like sometimes it wants to show everything anyway.
>
> Just fishing for ideas here...
>
> Thanks,
> Chris
>

 

Navigation:

[Reply to this 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

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