Ok, I have this just about working as I want it...
I want to prompt the user for their name (I don't want to have security logins, I just want to prompt for their name). I then want to upload the files to a server folder named using a concatenation of the date/timestamp and the name they entered. Something like /2009-10-21 13:24:11 John Smith/
1) What is the best approach for gathering such information and passing it to JImageUpload? Do I use an HTML form for the name? Would this form exist on the same screen as the JImageUpload box? How is the name passed into the js file?
2) I would calculate the timestamp and concatenate the user's name within the js (creating the value of the folder to be created). How do make JImageUpload create such a foldername? What param do I use?
Thanks,
Tom K.
Follow-up questions...Re: Follow-up questions...Why not using 2 PHP web pages?
Page1.php: Ask end-user info Post to page2.php Page2.php: Get info from $_POST[] and build applet parameters accordingly. You can concatenate info with PHP. What do you think about it? |