On 5 Feb 2001 23:31:17 -0800, andreas \(@work\) <[EMAIL PROTECTED]> wrote:
>a 404 php-file which extracts the path  and generates a page for that out of
>mysql
>
>or is there a better solution out there ?

This approach can work and, properly done, work fairly well. However, a more
elegant approach might be using mod_rewrite on Apache. You could write a regex
that would convert addresses of the form /~username into
/users/homepage.php?User=username internally. This would also have the
advantage of leaving your existing 404 handling unchanged.

Chris

-- 
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]

Reply via email to