[Your IP: 54.166.141.69]
Logowanie

Język: PL EN

KySoft Systemy Informatyczne


sitemap

PHP/HTML tips & tricks

email-validator
html-entities
http-build-str
inline-sms-orange
inline-youtube
mathjax-equations
rss-howto
skype-hidden-emots
syntax-highlight
text-highlight
world-flags
(currently only in english)

Implementation of http_build_str

Supports arrayed arguments
if(!function_exists('http_build_str')){
	function http_build_str($aq){
		$a=array();
		foreach($aq as $k=>$v){
			if (is_array($v)){
				foreach($v as $kt=>$vt)
					$a[]=$k."[".$kt."]=".urlencode($vt);
			}
			else $a[]=$k."=".urlencode($v);
		}
		return implode("&",$a);
	}
}

Dodaj komentarz