468,248 Members | 1,528 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,248 developers. It's quick & easy.

dynamic pages without using $_GET?

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,
tom

Jun 17 '07 #1
2 1463
..oO(to*****@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
Jun 17 '07 #2
On Jun 17, 1:44 pm, Michael Fesser <neti...@gmx.dewrote:
.oO(tomw...@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
wow thanks dude

Jun 17 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Erik Andersson | last post: by
reply views Thread by James | last post: by
10 posts views Thread by jflash | last post: by
2 posts views Thread by thetechturf.com | last post: by
7 posts views Thread by Roarke | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.