Re: How to access $_GET while using mod_rewrite
| From: | Justin Patrin | Date: | Tue, 17 Feb 2004 22:38:05 +0000 |
| Subject: | Re: How to access $_GET while using mod_rewrite | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178032@lists.php.net to get a copy of this message | ||
Merlin wrote:
Hi there, I am using mod_rewrite which makes it impossible to use the $_GET function. However, it should be possible to do the same with a function. I figured out how to get the parameter string out of the url, now I am stuck in splitting those values into associated array elements. Here is what it looks like: cc=br&pr=04&lcarray=1&idarray=816083 Has anybody an idea on how to put this into an array to make it accesible like this: $para[cc] $para[pr] etc. Thanx for any ideas on that, MerlinIf you're using mod_rewrite correctly (that is, changing the URL into one which uses get parameters) then your $_GET array will be set. -- paperCrane <Justin Patrin>