Page 1 of 1

preview images problem

Posted: Wed Jun 05, 2002 4:48 pm
by wizzard
Hi,

I want something that users can fill in a form and register i have 3 functions called register(), previewregister(), submitregister(). My problem is i want before the images are uploaded in my server in a dir /images/sbase the user can see a preview of everthing for the info it isn't a problem but for the images thats a big problem i can't preview them before it placed on my server. Can someone here helps me plz?
I don't want that in preview mode the images already uploaded in the dir/images/sbase so users can choose another image if they want. I hope my question is clear enough?

Regards
Kris

Posted: Thu Jun 06, 2002 2:10 am
by MattF
How about uploading to a temporary folder for preview then move to the main folder if they confirm?

Posted: Thu Jun 06, 2002 3:40 am
by wizzard
Thats sounds like a good idea but problem is if they confirm with the image they choose at register how can i make that this image also will be send to the final map. Can you give me an example for programming such thing? I'm newbie in php i know it's something with move_uploaded..

Regards
Kris