RE: [PHP] what's the best way to handle this?
| From: | (Edward Peloke) | Date: | Tue, 18 Mar 2003 14:37:17 +0000 |
| Subject: | RE: [PHP] what's the best way to handle this? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140124@lists.php.net to get a copy of this message | ||
thanks, not sure how to do either of these...but I will look them up.
-----Original Message-----
From: Ernest E Vogelsinger [mailto:ernest@vogelsinger.at]
Sent: Tuesday, March 18, 2003 9:14 AM
To: Edward Peloke
Cc: Php-General@Lists. Php. Net
Subject: Re: [PHP] what's the best way to handle this?
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/