href ", @$sarr[0],"
\n";
echo "protocol ", @$arr["scheme"], "
\n";
echo "hostname ", @$arr["host"], "
\n";
echo "username ", @$arr["user"], "
\n";
echo "password ", @$arr["pass"], "
\n";
echo "pathname ", @$arr["path"], "
\n";
echo "hash ", @$arr["fragment"], "
\n";
$parameters = @$arr["query"];
echo "search ", $parameters, "
\n";
echo "data ", $parameters["data"], "
\n";
parse_str($parameters, $arr);
print_r($arr);
?>