You'll need to do your log in on the root and then redirect depending on what username they are are logged on as. You can use cookies to set the initial user name value in your log in screen but that's as far as you can go if you want any level of security. once you have a validated username (which you can hold in a session) you can build urls, etc. using it e.g. echo("<a href=$username/nextpage.php>Next Page</a>"). Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -----Original Message----- > From: Alex [mailto:[EMAIL PROTECTED]] > Sent: 14 March 2001 10:08 > To: [EMAIL PROTECTED] > Subject: I want this magic directory > > > I just want every customer on my site get his own unique id > as his directory > name but the pages requested are all processed by the root. > Such as: customer1's url is http://www.mysite.com/2000123/ > customer2's url is http://www.mysite.com/2000124/ > ^^^^^^^UID > and the pages requested are actually processed by > http://www.mysite.com/ > > I want it to implement security and personalization. I don't > want to use > .php?uid=XXX because of lazy. :) > thanks. > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]