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]