Re: what's the best way to handle this?

From: Date: Tue, 18 Mar 2003 14:13:49 +0000
Subject: Re: what's the best way to handle this?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-140122@lists.php.net to get a copy of this message
At 14:38 18.03.2003, Edward Peloke said: --------------------[snip]-------------------- >When a user 'registers' with our site, I want to generate their personal >webpage for them. Currently, I have a webpage where the contents are >generated from their personal info in the db and I have a drop down to view >client pages but it is just the same page but I pass in the clientid so it >will display their data. This is fine but I want the users to be able to >tell others.."Visit my home page at www.eddiessite.com/Johnny or something >like that...I don't want them to have to say visit my page >www.eddissite/client_pages?clientid=43 does that make sense? Should I just >generate a folder for them with an index page that redirects then to the >clientpage with their id? --------------------[snip]-------------------- You could either use Apache's mod_rewrite to rewrite the URL, or use an ErrorDocument handler to deliver the correct page. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

« previous php.general (#140122) next »