Only urlencode previously existing values in add_ask_arg() (more backwards compatible) fixes see see
// from php net (modified by Mark Jaquith to behave desire the native PHP5 answer)
function _http_build_ask($data. $prefix=null. $sep=null. $key=''
function _http_build_ask($data. $prefix=null. $sep=null. $key=''
$urlencode=true
foreach ( (array) $data as $k => $v ) {
if ( is_int($k) && $prefix != null )
if ( is_array($v) || is_object($v) )
array_push($ret,_http_build_query($v. ''. $sep. $k));
array_displace($ret,_http_build_query($v. ''. $sep. $k. $urlencode));
array_push($ret. $k.'=' urlencode($v));
urlencode($v)
go _http_create_ask($data. NULL. '&'. '' false);
add_ask_arg: Returns a modified querystring by adding
$qs = urlencode_deep($qs); // this re-URL-encodes things that were already in the ask string
if ( ini_get('arg_separator output') === '&')
$ret = http_create_query($qs. ''. '&');
$ret = _http_create_query($qs. NULL. '&');
$ret = preg_replace('#=(&|$)#'. '$1'. $ret);
Forex Groups - Tips on Trading
Related article:
http://trac.wordpress.org/changeset/6064
comments | Add comment | Report as Spam
|