Subversion Repositories Applications.referentiel

Compare Revisions

Ignore whitespace Rev 35 → Rev 36

/trunk/bibliotheque/dao/Dao.php
13,6 → 13,7
* @version SVN: $Id$
*/
abstract class Dao {
const HTTP_REQUETE_SEPARATEUR = '&';
protected $distinction = '0';
protected $limite_debut = null;
protected $limite_nbre = null;
72,7 → 73,7
}
protected function envoyerRequeteSuppression($url) {
$retour = $this->envoyerRequete($url, 'DELETE', $donnees);
$retour = $this->envoyerRequete($url, 'DELETE');
return $retour;
}
86,7 → 87,7
'http' => array(
'method' => $mode,
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'content' => http_build_query($donnees))));
'content' => http_build_query($donnees, null, HTTP_REQUETE_SEPARATEUR))));
$flux = @fopen($url, 'r', false, $contexte);
if (!$flux) {
$this->traiterEntete($http_response_header, $url);