Skip to content
Extraits de code Groupes Projets
Valider 84d1cd83 rédigé par JamesRezo's avatar JamesRezo :tada:
Parcourir les fichiers

oups

parent d58be583
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -51,29 +51,6 @@ function copie_locale($source, $mode='auto') {
return $local;
}
// fabrique une chaine HTTP pour un POST
function buildQueryString($data, $munge_charset = false) {
$querystring = '';
if (is_array($data)) {
// Change data in to postable data
foreach ($data as $key => $val) {
if (is_array($val)) {
foreach ($val as $val2) {
$querystring .= urlencode($key).'='.urlencode($val2).'&';
}
} else {
$querystring .= urlencode($key).'='.urlencode($val).'&';
}
}
$querystring = substr($querystring, 0, -1); // Eliminate unnecessary &
} else {
$querystring = $data;
}
return $querystring;
}
function prepare_donnees_post($donnees, $boundary = '') {
if($boundary) {
// fabrique une chaine HTTP pour un POST avec boundary
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter