Welcome to AC Web.
Results 1 to 3 of 3
  1. #1


    Join Date
    May 2008
    Location
    I live in Denmark
    Posts
    602

    Thumbs down Minor website project need some guidelines


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Hey ppl


    I'm currently working on a minor website project for fun, but im stuck.

    Can't find any tuts or guidelines how to when, a user register on my website there automatically create a folder with there username (a sub domain) on my website.

    and if so can the folder have wordpress as a standard install on it?

    any help or youtube vids or link there cause help me.

    My website is bought in ONE.COM if it's to any help.


    Regards Anders

  2. #2
    Hey Anders!

    I don't personally have much experience in web-dev yet, but I did a search for you: https://stackoverflow.com/questions/...-for-each-user

    Other people may know more than me or others on that thread but take a look at it.

  3. #3

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    https://www.php.net/manual/en/function.mkdir.php

    Combine this with htaccess rules which SolitudeGaming linked you and it should be quite easy.

    A good idea would be to have a version of the customer website which you can just copy to the new directory every time a user was made. This version should be set up with SQL and the files. Remember seperate databases for every user is a very good idea because otherwise the site will become cluttered fast.
    Last edited by Mathix; 07-12-2019 at 08:11 AM.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •