Subversion Repositories eFlore/Applications.del

Rev

Rev 1892 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1892 Rev 1899
Line 97... Line 97...
97
	private function recupererParametresBruts() {
97
	private function recupererParametresBruts() {
98
		$parametres_bruts = array();
98
		$parametres_bruts = array();
99
		if (isset($this->server['QUERY_STRING']) && !empty($this->server['QUERY_STRING'])) {
99
		if (isset($this->server['QUERY_STRING']) && !empty($this->server['QUERY_STRING'])) {
100
			$paires = explode('&', $this->server['QUERY_STRING']);
100
			$paires = explode('&', $this->server['QUERY_STRING']);
101
			foreach ($paires as $paire) {
101
			foreach ($paires as $paire) {
-
 
102
				if ($paire != '' && substr_count($paire, '=') == 1) {
102
				$nv = explode('=', $paire);
103
					$nv = explode('=', $paire);
103
				$nom = urldecode($nv[0]);
104
					$nom = urldecode($nv[0]);
104
				$valeur = urldecode($nv[1]);
105
					$valeur = urldecode($nv[1]);
105
				$parametres_bruts[$nom] = $valeur;
106
					$parametres_bruts[$nom] = $valeur;
-
 
107
				}
106
			}
108
			}
107
			$parametres_bruts = $this->nettoyerParametres($parametres_bruts);
109
			$parametres_bruts = $this->nettoyerParametres($parametres_bruts);
108
		}
110
		}
109
		return $parametres_bruts;
111
		return $parametres_bruts;
110
	}
112
	}