Fakepath fichier upload

Par med001, il y a 8 ans


Bonsoir,
Je peux uploader fichier avec symfony . Je trouve probleme en path fichier : D:\fakepath\nomfichier.extension
Probleme que ne donne pas vrai chemin du fichier il me donne fakepath
Aussi je fais ca avec simple form (html5) et je fais console.log valur input file mais je trouve meme erreur il m donne par exemple : D:\fakepath\nomfichier.png
Comment resoudre ce probleme ..

Merci d'avance

1 réponse

Benjamin Derepas, il y a 8 ans

Regarde du coté de l'API FileReader en js .