On 16 February 2004 15:19, 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.

Try parse_str() (http://www.php.net/parse-str).

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to