Re: How do you read one of these parameters?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 10 Feb 2005 16:28:15 -0800, Brian Dunning
<brian@xxxxxxxxxxxxxxxx> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux