barrowvian Posted March 27, 2010 Share Posted March 27, 2010 basically, im wanting to create an upload image function to allow users to upload a maximum of 10 images, file names need to be unique to stop them from overwriting each other. is there any way that i can get php to create a new directory for each user, so that each user potentially has their own folder with 10 images in it? then once all of the files have been uploaded they need to be viewable as thumbnails with 1 main image being the main photo. what is the easiest way to go about doing this? im not sure if its best to use php or js so ive posted it in both help forums. Link to comment https://forums.phpfreaks.com/topic/196719-creating-an-image-gallery-from-scratch/ Share on other sites More sharing options...
DaiLaughing Posted March 28, 2010 Share Posted March 28, 2010 Weirdly I just type "PHP create directory" into a well known search engine and the answer was right there! Link to comment https://forums.phpfreaks.com/topic/196719-creating-an-image-gallery-from-scratch/#findComment-1032924 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.