Bonjour,

J'ai un petit problème avec une balise input du type 'file' nommé pour l'exemple nomFichier.

Avec IE, $_POST["monFichier"] contient le chemin absolue pour accéder à monFichier.txt

Avec FF, $_POST["monFichier"] contient seulement : monFichier.txt

Quelqu'un sait-il pourquoi?

Et plus interessant, si j'ajoute à mon formulaire une balise input du type 'hidden' ayant pour nom monChampCache, et qu'á mon bouton de type 'submit', j'ajoute l'évènement onclick="monChampCache.value=monFichier.value", j'obtiens :

$_POST["monChampCache"] contient bien le chemin absolue pour accéder à monFichier.txt independemment du navigateur (IE ou FF).