En effet il doit manquer ça:
Code PHP :
<?php
function getVars()
{
$Vars ='';
if($_POST != null)
{
$Vars.='-POST: ';
foreach($_POST as $index => $value)
{
$Vars.=$index.'|';
}
}
if($_GET != null)
{
$Vars.='-GET: ';
foreach($_GET as $index => $value)
{
$Vars.=$index.'|';
}
}
return $Vars;
}