Re: Variable Passing

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

 



Brad Brevet wrote:

Hi, I am curious how to pass a variable without using something like id=321.

I have seen sites that have something like
http://www.website.com/something/321 and the variable is passed how exactly
is that done? And is it called something specific so I know how to refer to
it in the future?



That's done with a little bit of Apache's mod_rewrite magic ;). I suggest you to read this article [ http://www.sitepoint.com/article/guide-url-rewriting ] which is of a great help, however checking the manual reference ( google for 'mod_rewrite' ) will help you a lot too. If you get stuck somewhere, state your questions here :)

Hope this helps,

--
Josip Dzolonga
http://josip.dotgeek.org

jdzolonga[at]gmail.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