professional-search-05-seophp-include-url-utils.inc.php / php
<?php // transforms a query string into an associative array function parse_query_string(// split the query string into individual name-value pairs items = explode('&', // initialize the return array 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, // remove param ))?#", '', // remove ending ? or &, in case it exists if (substr(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.