this is my situation, i have a file called user.php that with the single variable that's transfered in, $userid, it generates a pagefull of information on that user. Only thing is I need another way to transfer the variable, because I also need to have other variables come into the play to perform different functions. For example, if the user wants to check his notes, he would click on notes, so $task = notes would now dominate, but I still need the userid to be in, and I dont want to have a long url in the picture like user.php?userid=guy1&task=comment
I was thinking for along the lines, if possible to have a function that will put the variable before the domain name, such as guy1.mywebsite.com, so that comments could be guys1.mywebsite.com/comments
any ideas?