Subversion Repositories Applications.framework

Rev

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

Rev 487 Rev 491
Line 433... Line 433...
433
	private function recupererParametresBruts() {
433
	private function recupererParametresBruts() {
434
		$parametres_bruts = array();
434
		$parametres_bruts = array();
435
		if (!empty($_SERVER['QUERY_STRING'])) {
435
		if (!empty($_SERVER['QUERY_STRING'])) {
436
			$paires = explode('&', $_SERVER['QUERY_STRING']);
436
			$paires = explode('&', $_SERVER['QUERY_STRING']);
437
			foreach ($paires as $paire) {
437
			foreach ($paires as $paire) {
-
 
438
				if ($paire != '' && substr_count($paire, '=') == 1) {
438
				$nv = explode('=', $paire);
439
					$nv = explode('=', $paire);
439
				$nom = urldecode($nv[0]);
440
					$nom = urldecode($nv[0]);
440
				$valeur = urldecode($nv[1]);
441
					$valeur = urldecode($nv[1]);
441
				$parametres_bruts[$nom] = $valeur;
442
					$parametres_bruts[$nom] = $valeur;
-
 
443
				}
442
			}
444
			}
443
			$parametres_bruts = $this->nettoyerParametres($parametres_bruts);
445
			$parametres_bruts = $this->nettoyerParametres($parametres_bruts);
444
		}
446
		}
445
		return $parametres_bruts;
447
		return $parametres_bruts;
446
	}
448
	}