Welcome Guest, Not a member yet? Register   Sign In
uri_to_assoc() on given url
#1

[eluser]Raymondddd[/eluser]
Hi guys,

I was wondering if there is a function to do the same as uri_to_assoc(), but on a given url (as a parameter) and not the current_url().

So, uri_to_assoc is converting example.com/user/search/name/joe/location/UK/gender/male to:
Code:
* array (
  *   name => joe
  *   location => UK
  *   gender => male
  *   )

I like to get the same results for a given URL.

Anyone?

Thanks a lot!

Raymond




Theme © iAndrew 2016 - Forum software by © MyBB