<?php
//25.0.2.0 FMK/PostGet.php GF
//VersionVI: 01F250083h
//(c) 2005-2012 PC SOFT - Release
 define("FMK_PostGet",true); if (!defined('__INC__FMK/Chaine.php')) { define('__INC__FMK/Chaine.php',true); include_once(WB_INCLUDE_PATH.'WD55acb2e708e26f23cb8956cd93e98123.php'); } if (!defined('__INC__FMK/Tableau.php')) { define('__INC__FMK/Tableau.php',true); include_once(WB_INCLUDE_PATH.'WDa8a47db63a35400f63385c7a68aa8d08.php'); } if (!defined('__INC__FMK/Exception.php')) { define('__INC__FMK/Exception.php',true); include_once(WB_INCLUDE_PATH.'WDad4db5db8c5c5d46f4e2f107ea6466df.php'); } function F19b65b78($bAvecConversion=true) { $SCRIPT_PARAM = F8bc25231($bAvecConversion); if (ini_get('magic_quotes_gpc')==1) { $SCRIPT_PARAM = Fe8415a13($SCRIPT_PARAM); } if ( !UNICODE_PAGE_UTF8) { $SCRIPT_PARAM = array_map('_cp1252_utf8_to_iso',$SCRIPT_PARAM); } return $SCRIPT_PARAM; } function F8bc25231($bAvecConversion=true) { $tabMerge = null; F6b1e3687(); $postdata = ($bAvecConversion||!PHPVERSION_5) ? null : file_get_contents('php://input'); F1e7b0563(); if (!$bAvecConversion && !empty($postdata)) { $tabMerge = explode('&',$postdata); } elseif (!$bAvecConversion && isset($HTTP_RAW_POST_DATA)) { $tabMerge = $HTTP_RAW_POST_DATA; } elseif (isset($_POST)) { { $tabMerge = $_POST; } } $tabGET = null; $tabParse = null; if (!$bAvecConversion) { $sQueryString = null; if (array_key_exists('QUERY_STRING',$_SERVER) && !empty($_SERVER['QUERY_STRING'])) { $sQueryString = $_SERVER['QUERY_STRING']; } elseif (array_key_exists('QUERY_STRING',$_ENV) && !empty($_ENV['QUERY_STRING'])) { $sQueryString = $_ENV['QUERY_STRING']; } elseif (array_key_exists('REQUEST_URI',$_SERVER) && !empty($_SERVER['REQUEST_URI'])) { $tabParse = parse_url($_SERVER['REQUEST_URI']); $sQueryString = ($tabParse!==false && isset($tabParse) && is_array($tabParse) && array_key_exists('query',$tabParse)) ? $tabParse['query'] : ''; } elseif (array_key_exists('argv',$_SERVER) && !empty($_SERVER['argv']) && is_array($_SERVER['argv']) && !empty($_SERVER['argv'][0])) { $sQueryString = $_SERVER['argv'][0]; } if (isset($sQueryString)) { $tabParse = explode('&',$sQueryString); } } if (!$bAvecConversion && !empty($tabParse)) { $tabGET = array(); foreach ($tabParse as $NomEgalValeur) { $nPosEgal = strpos($NomEgalValeur,'='); $tabGET[substr($NomEgalValeur,0,$nPosEgal)] = substr($NomEgalValeur,$nPosEgal+1); } } elseif (isset($_GET)) { $tabGET = $_GET; } if ((!isset($tabGET)) || (($nGet=count($tabGET))==0)) return $tabMerge; if (!isset($tabMerge)) return $tabGET; $tabKeysGET = array_keys($tabGET); for($i=0; $i<$nGet; $i++) { $key = $tabKeysGET[$i]; if (!array_key_exists($key,$_POST)) { $tabMerge[$key ] = $tabGET[ $key ]; } } return $tabMerge; } ?>