Reply to Re: [PHP] How do you read one of these parameters?

Your name:

Reply:


Posted by Greg Donald on 02/11/05 18:07

On Thu, 10 Feb 2005 16:28:15 -0800, Brian Dunning
<brian@briandunning.com> wrote:
> I see URLs formatted like this:
>
> http://tinyurl.com/xyz
>
> How do you read that "xyz," since there's no "/?x=" preceding it? Is it
> not a get parameter?

Apache ModRewrite

RewriteEngine on
RewriteRule ^([A-Za-z].*) index.php?var=$1 [L,qsappend]


--
Greg Donald
Zend Certified Engineer
http://destiney.com/

[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

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