RE: [PHP] mod_rewrite and getting url variables

2005-04-12 Thread Chris W. Parker
Matthew Weier O'Phinney on Tuesday, April 12, 2005 9:42 AM said: > When using mod_rewrite, if the rewrite rule does not include a > pass-through, then the query string is not passed on to the script in > question. So, if you request the page directly with: > > h

Re: [PHP] mod_rewrite and getting url variables

2005-04-12 Thread Matthew Weier O'Phinney
* Chris W. Parker <[EMAIL PROTECTED]>: > Ospinto > 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

RE: [PHP] mod_rewrite and getting url variables

2005-04-12 Thread Chris W. Parker
Ospinto 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 v

[PHP] mod_rewrite and getting url variables

2005-04-12 Thread Ospinto
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. 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