RE: I want this magic directory

From: Date: Wed, 14 Mar 2001 17:09:13 +0000
Subject: RE: I want this magic directory
Groups: php.general 
Request: Send a blank email to php-general+get-43877@lists.php.net to get a copy of this message
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:internalthinking@yahoo.com] > Sent: 14 March 2001 10:08 > To: php-general@lists.php.net > 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. > > > > > > >

« previous php.general (#43877) next »