Subversion Repositories Applications.framework

Rev

Rev 473 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 473 Rev 494
Line 95... Line 95...
95
      				'method' => $mode,
95
      				'method' => $mode,
96
					'header' => "Content-type: application/x-www-form-urlencoded\r\n",
96
					'header' => "Content-type: application/x-www-form-urlencoded\r\n",
97
      				'content' => $content)));
97
      				'content' => $content)));
98
			$flux = @fopen($this->url, 'r', false, $contexte);
98
			$flux = @fopen($this->url, 'r', false, $contexte);
99
			if (!$flux) {
99
			if (!$flux) {
100
				$this->reponse_entetes = $http_response_header;
-
 
101
				$entetesFmt = print_r($this->analyserEntete(), true);
100
				$entetesFmt = print_r($this->analyserEntete(), true);
102
				$e = "Echec requête '$mode' : {$this->url}\n".
101
				$e = "Echec requête '$mode' : {$this->url}\n".
103
					"Paramètres requête : $content \n".
102
					"Paramètres requête : $content \n".
104
					"Entêtes réponse : $entetesFmt \n";
103
					"Entêtes réponse : $entetesFmt \n";
105
				trigger_error($e, E_USER_WARNING);
104
				trigger_error($e, E_USER_WARNING);