<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Test Img</title> </head> <body> <form name="form" action="index.php?action=publierOffre" method="post" enctype="multipart/form-data"> <label>Image:</label> <input type="file" name="image" id="image"> <input type="submit" value="Publier L'annonce" name="submit"> </form> </body> </html>