Posted by Michael Fesser on 06/17/07 17:44
..oO(tomwans@gmail.com)
>how do websites such as last.fm have dynamic pages when they dont use
>the standard $_GET url? for example, a dynamic page is generated from
>last.fm/users/drpolish, which looks alot cleaner than something like
>last.fm/users?username=drpolish
>
>just put me in the right direction,
There are many different ways to achieve that. For example you can use a
single script to parse the URL and handle all incoming requests (usually
called a "front controller"), another very common way is to use Apache's
mod_rewrite to rewrite the URL before passing it to the PHP interpreter.
Micha
[Back to original message]
|