Reply to Re: Blocking multiple image uploads

Your name:

Reply:


Posted by Joja on 12/28/06 15:27

> You could have a column which is the userid and set it UNIQUE, before
> inserting the image to the database, check if there is a such user, if not
use
> INSERT, if yes use UPDATE.
-----------------------------------------
hmmmm, this could be a bit of a problem or i have understand this wrong.


signup form is in one window -- data is inserted into
signup table
upload page is loaded in second window -- data is inserted into picture
table

Both pages have nothing in common accept that on the signup page you can
find upload button and place for uploaded picture. After you click upload
button, new window is opened and on that window you can make upload.

***************
The main idea was to let user make the upload ( from the new window ), close
that new window and display this uploaded photo in the signup formular.
After signup is over, user would send all his data (including photo ) to the
db.
***************

Problem is that the photo is uploaded to db, _before_ the user registration
and then i can not know which photo belongs to which user....

[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

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