Jump to content

uploading files / folders to multiple folders ... possible ?


kigoobe

Recommended Posts

Well,

 

I am wondering if this will be possible to upload a bunch of files / folders to different folders at one go.

 

I was thinking to give a different subfolders to different users (a bit like blogspot) say, like - jack.domain.com julie.domain.com etc.

 

However, later if I need to upgrade anything, to add a new section that may contain a few folders and subfolders along with a few files, I was wondering if I can do that using a script, in php, selecting the subfolders' names, jack, julie, etc.

 

For the moment I am thinking this won't probably be possible, still wanted to check this up with experts.

 

Thanks.

 

Link to comment
Share on other sites

Well, I think I didn't ask the right question above. But now I can neither modify nor delete the post (I couldn't find the link, new here). So, I am redesigning my question here.

 

*************************************************

 

I am thinking to structure a site with each user having their own space, like rudy.domain.com, spike.domain.com, etc.

 

Now, if I have 900 users, with 900 subdomains, do I need to have the same files 900 times? Say the index.php inside each of the subfolders will have the same code, client side content of which will change depending on the login details.

 

Like can I have an index.php somewhere, and when each of the folders will load, the same index.php (and all other files) will be called. Users will still see they are in their own space, say in vinnie.domain.com/index.php but that index.php will be physically located elsewhere.

 

Is that possible, or I will have to upload the same index.php 900 times in each sub folders?

 

Thought this is something that needs expert's advice, so I'm here. :)

 

NB. If this question arises in someone's mind, in CP we can create subdomains thro' a script, that's not an issue.

 

Link to comment
Share on other sites

Why would you have them as subdomains, why not keep them as

 

maindomain.com/users/userfolderhere

 

then in the users folder, have the index page, which pulls user info from a db for images etc. depending on which user is being viewed,

 

then if there's login area restriction access probably much easier to control

 

I have created image upload scripts which make directories, for each category etc.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.