RE: mod_rewrite and getting url variables

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

 



Ospinto <mailto:ospinto@xxxxxxxxxxx>
    on Tuesday, April 12, 2005 10:32 AM said:

> I used mod_rewrite to change http://www.mysite.com/page/1 to
> http://www.mysite.com/page.php?id=1 to enable a search friendly url.

Ok I'm with you.

> Everything works fine, except that when I try to get the URL variable
> ($id) by using $_GET, it doesn't return anything. With
> http://www.mysite.com/page.php?id=1 it gets $id just fine.

Now you've lost me. Those two statements seem to be in opposition to one
another. You can't get $id with $_GET but
http://www.mysite.com/page.php?id=1 works just fine? The URL is a "GET"
URL since it has a querystring.



Chris.

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