topical media & game development
professional-search-05-seophp-include-url-utils.inc.php / php
<?php
// transforms a query string into an associative array
function parse_query_string(items = explode('&', qs_array = array();
// create the array
foreach(i)
{
// split the name-value pair and save the elements to
pair = explode('=', qs_array[urldecode(pair[1]);
}
// return the array
return url, param
))?#", '', new_url, -1) == '?' || substr(new_url = substr(new_url) - 1);
}
// return the new URL
return
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.