Reply to Re: dynamic pages without using $_GET?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация