Ignore:
Timestamp:
Dec 11, 2010, 10:37:44 PM (13 years ago)
Author:
patdenice
Message:

merge r8079, r8080, r8082, r8083, r8084 from trunk to branch 2.1
feature 2057: fetchRemote can send POST data
feature 2048: Use POST to send server data
feature 2048: add $confsend_hosting_technical_details parameter
feature 2057: use $get_data parameter to send GET data.
feature 2048: send technical details only to get_version_list.php of PEM API.

Location:
branches/2.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1

  • branches/2.1/include/functions_url.inc.php

    r6410 r8086  
    9090 * @return string
    9191 */
    92 function add_url_params($url, $params)
     92function add_url_params($url, $params, $arg_separator='&' )
    9393{
    9494  if ( !empty($params) )
     
    101101      {
    102102        $is_first = false;
    103         $url .= ( strpos($url, '?')===false ) ? '?' :'&';
     103        $url .= ( strpos($url, '?')===false ) ? '?' : $arg_separator;
    104104      }
    105105      else
    106106      {
    107         $url .= '&';
     107        $url .= $arg_separator;
    108108      }
    109109      $url .= $param;
Note: See TracChangeset for help on using the changeset viewer.