note 50673 added to function.parse-url
| From: | scottatconnerlydotnet at osu1 dot php dot net | Date: | Sun, 06 Mar 2005 19:34:01 +0000 |
| Subject: | note 50673 added to function.parse-url | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86008@lists.php.net to get a copy of this message | ||
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;
}
----
Manual Page -- http://www.php.net/manual/en/function.parse-url.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50673
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50673&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50673&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50673&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50673&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50673&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50673&report=yes
Search -- http://master.php.net/manage/user-notes.php