Is it possible to have a website where each user gets their own URL like: www.thewebsite.com/myusername
I want each user site to be the same, the only reason the name matters is if a person visiting the site signs up, they get their own custom url, but the person they signed up under is kept track of as their "Parent".
So if I go to www.thewebsite.com/phil and sign up as David, then my site becomes www.thewebsite.com/david but Phil is kept track of in my user record. (i.e. is there a way for me to know which url they visited the site under)
So, really that's 2 questions:
1) How do I make custom urls per user 2) How do I know which url a new user visited from
I'm pretty brand new to PHP so keep that in mind.