I'm looking into creating a community site whereby each user signs up - and then php creates a sub directory based url to go straight to each users homepage e.g. www.domain.com/user
I have no idea how to create a new index.php page inside a sub directory on the fly rather than index.php?userID=$ - which invokes the right sql query.
I'm not looking for code but rather the principal behind it.