Hello, Yes, I m doing all these points. I have db with table, i am storing info abt user in a table "Models". I have another table name wth "models_photos". If some one want to sign up, he/she must fill first page, where they will fill all the info, and then they will go on second page for upload their photos. and here i want that, when they upload photos, a new folder must be created by her/his name (user name). but i have also a admin section so i need to store in table first then images should be store in folder wth username. Thanks, Avi --- In php-objects@xxxxxxxxxxxxxxx, Joe Forsythe <jforsythe@...> wrote: > > I really don't understand your question. This is what I'm gathering > from what you've written: > 1. You want to upload images, which you seem to have covered per your > first e-mail. > 2. You need to know how to create a new folder on a per user name > basis, which I gave you code for. > 3. You want to store images in the db, which doesn't make any sense > if you're already storing them in a directory. If you're just looking > to store file names in the database, you can just add a table with > the member name as the primary key and another field with the image > name. > > If you'll clarify the question a bit I'm sure we can help you out. > -- > Joe > > On Dec 19, 2008, at 5:23 PM, arvindsri123 wrote: > > > Hello, > > > > Thank you so much, i have got few scripts but all r do seprate part, i > > wanted a single script through that i can upload atleast 10 JPG > > images, and those images shoud store in DB as well as in new folder > > but folder name should be user name. > > > > I am still searching, If someone will help me with the script, i m not > > very expert. > > > > Thank you again for a quick and positive reply. > > > > Thanks, > > Avi. > > > > --- In php-objects@xxxxxxxxxxxxxxx, Joe Forsythe <jforsythe@> > > wrote: > > > > > > if (!(file_exists($directory_name))) { > > > mkdir($directory_name); > > > } > > > > > > Or something like that. > > > > > > If you're doing a google search on this topic, you'll want to search > > > for "directory", not "folder" > > > -- > > > Joe > > > > > > > > > On Dec 19, 2008, at 4:07 PM, arvindsri123 wrote: > > > > > > > Hi, > > > > > > > > I need a help, I have just created a image upload script in php/ > > mysql, > > > > right now all the user's/member's images storing in a common > > folder. > > > > > > > > I wanted to store every members images in their own folder, > > Like when > > > > i submit the image upload page, ther must be a new folder > > created by > > > > the user name and all the images must be store in his/her > > folder, I > > > > don't want to create folder manually.. > > > > > > > > If there is any confusion please ask me, I will be very thank > > full to > > > > all of you. > > > > > > > > Thanks, > > > > Avi > > > > > > > > > > > > > > > > > > > > > > > > [Non-text portions of this message have been removed] > > > > > > > > > > > > > [Non-text portions of this message have been removed] >