note 50673 deleted from function.parse-url by didou
| From: | didou@php.net | Date: | Sat, 03 Feb 2007 03:08:11 +0000 |
| Subject: | note 50673 deleted from function.parse-url by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-122616@lists.php.net to get a copy of this message | ||
Note Submitter: scott a t connerly d o t net
----
re: <b>osfist at yahoo dot com</b>'s http_implode function.
Here is a companion function for that:
function http_explode($stringInput) {
if (! is_string($stringInput))
return false;
$arr_query=NULL;
$args=explode('&',$stringInput);
foreach($args as $arg) {
$parts=explode('=',$arg);
$arr_query[$parts[0]]=$parts[1];
} return $arr_query;
}