Je veux code deux pages une html et une php
Fermé
nouige
-
11 janv. 2011 à 19:11
xamurai Messages postés 223 Date d'inscription mardi 11 janvier 2011 Statut Membre Dernière intervention 19 février 2013 - 12 janv. 2011 à 04:45
xamurai Messages postés 223 Date d'inscription mardi 11 janvier 2011 Statut Membre Dernière intervention 19 février 2013 - 12 janv. 2011 à 04:45
A voir également:
- Je veux code deux pages une html et une php
- Supprimer une page word - Guide
- Deux comptes whatsapp - Guide
- Traduire une page web - Guide
- Code asci - Guide
- Créer une page facebook - Guide
2 réponses
xamurai
Messages postés
223
Date d'inscription
mardi 11 janvier 2011
Statut
Membre
Dernière intervention
19 février 2013
15
11 janv. 2011 à 22:24
11 janv. 2011 à 22:24
et as tu dejà commencé? ou attends tu un travail fini.
xamurai
Messages postés
223
Date d'inscription
mardi 11 janvier 2011
Statut
Membre
Dernière intervention
19 février 2013
15
12 janv. 2011 à 04:45
12 janv. 2011 à 04:45
ceci devrait t'aider : https://www.php.net/manual/fr/function.mail.php
12 janv. 2011 à 01:53
page html :
<html>
<head>
<title></title>
</head>
<body>
<form action="mail.php" method="post" enctype="multipart/form-data">
CV<input type="file" name="fichier1" />
LM<input type="file" name="fichier2" />
<input type="submit" value="Uploader" />
</form>
</body>
</html>
page php :
<?php
$fichier1=$_POST["fichier1"];
$from=htmlspecialchars("From: ".$fichier1);
$fichier2=$_POST["fichier2"];
$from=htmlspecialchars("From: ".$fichier2);
$destinataire="nouigeabdel@yahoo.com";
mail($destinataire,$fichier1,$fichier2,$from);
?>
Aider moi SVP.