Re: Newbie Question: How to pass URL info to .php script ?

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

 



On Thu, Jun 19, 2008 at 1:28 AM, Bob <phpnews@xxxxxxxxxxxxx> wrote:

> Have you tried CodeIgniter http://www.codeigniter.com?
>
> Not as restrictive as many MVC frameworks and very easy to work with.
>
> What you wish to achieve can be done with one line.
>
> $myvar = $this->uri->segment(2);


right, and if you look at the implementation there, you can see usage of
mod_rewrite and the $_SERVER array.  what i was trying to convey is that OP
will need some way to access the url that has been requested by the client.
the $_SERVER array is the only way i know of; if there are other ways im
always up for learning something new.

-nathan

[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