function Pimplode( $spliter="&" , $arr , $encode=true , $filterArr = array() )
{
foreach( $arr as $gkey=>$gv)
{
if (!in_array( $gkey , $filterArr ))
{
if ($encode)
{
$getstring .= urlencode($gkey)."=".urlencode($gv).$spliter;
}
else
{
$getstring .= $gkey."=".$gv."&";
}
}
}
$getstring = substr($getstring , 0 , -1);
return $getstring;
}