Re: Variable Passing

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

 



On Apr 8, 2005 4:11 PM, Brad Brevet <bradbrevet@xxxxxxxxxxxxxxxxx> 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?
> 
> Thanks,
> 
> Brad
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

in fact thats probably for search engine optimization. Try
http://www.seochat.com for more details and info. Basically apache
will use a thing called the URL rewrite engine (it rewrites URL) to
change http://www.website.com/something/321 into probably something
like
http://www.website.com/index.php?thing=something&number=321.

other ways of passing variables by not using URI:

cookies
session
forms... POST / http/1.1

hope this helps... i am sorry if i haven't explained it properly enough.

Ken

-- 
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