Reply to Re: seeking mod_rewrite solution

Your name:

Reply:


Posted by Chung Leong on 03/02/06 07:32

joelbyrd@gmail.com wrote:
> I think you might have misunderstood what the my_profile.php page is.
> It does not
> redirect, it _is_ the user profile page, but based on the user_id as
> given in the query
> string (which is encoded in the query string, so decoded on the page),
> it can get all
> the information about the user from the database - it's a simple
> database-driven page.

I understood you just fine. What you are planning to do is to find the
user id based on the given user name in redirect_user.php, then
redirect to my_profile.php, which look up the user record using the id.
What I suggested was to look up the user record using the user name in
my_profile.php. There is no point in doing a redirect to the page when
you can rewrite directly to it.

[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

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