Hmm, je viens de lire un commentaire sur la doc online de php concernant ca :
Citation :
It should be noted that $HTTP_RAW_POST_DATA only exists if the encoding type of the data is -not- the default of application/x-www.form-urlencoded, and so, to accessing raw post data from an HTTP form requires setting enctype= in your HTML.
|
Pour information ce tableau contient les donnes en post lorsqu'elles ne sont pas conformes. Et d'apres le commentaire se serait _uniquement_ lorsque les données passées en POST n'ont pas ete transmises de facon conforme (par exemple si c'est une appli qui a "crafte" la requete et non un browser).
Autre commentaire traitant du sujet :
Citation :
$HTTP_RAW_POST_DATA --
You'll usually access variables from forms sent via POST method by just accessing the associated PHP global variable.
However, if your POST data is not URI encoded (i.e., custom application that's not form-based) PHP won't parse the data into nice variables for you. You will need to use $HTTP_RAW_POST_DATA to access the raw data directly. (This should return a copy of the data given to the PHP process on STDIN; note that you wan't be able to open STDIN and read it yourself because PHP already did so itself.)
|
J'espere que cela pourrait faire avancer le probleme.
Message édité par cerel le 28-01-2005 à 01:32:44