Reply to Re: php and mod_rewrite?

Your name:

Reply:


Posted by balaji on 02/02/06 12:35

hi hru? im balaji. i have one big problem. Full details of
mod_rewrite() value in php with sample example give(plz) me. now one
small idea but most of process i can undrstand plz help me. plz tell me
soon .


namemattersnot@msn.com wrote:
> ok. i give up. need help :)
>
> here's the rule:
>
> RewriteRule ^test/(.+)/(.*)$ /index.php$2
>
> if i request: http://localhost/test/keyword/?show=files it properly
> redirects me.
>
> NOW, if i change the rule to: RewriteRule ^test/(.+)/(.*)$
> /index.php$2&key=$1
> it stops working.
>
> i figured out that if i remove ? from $show=files and change the rule
> to redirect to /index.php?$2, then i can use &key=$1. but i want to
> figure out how to redirect the ?show=files request AND at the end add
> &key=$1
>
> thanks in advance!

[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

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