Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

aidez moi please

Featured Replies

Posté(e)

voila les gas je ne suis un as de programmation php mais ca va je veux savoir comment envoyer un formulaire qu' une personne remplie sur mon site pour me l' envoyer apres ??? :mdr:

Posté(e)

1.Pour envoyer un mail :

<? // Interface PHP pour mail()

function sendMail($n,$m,$nT,$mT,$sujet,$body) {
  // l'émetteur
  $tete = "From: ".$n." <".$m.">\n";
  $tete .= "Reply-To: ".$m."\n";
  // et zou... false si erreur d'émission
  return mail($nT." <".$mT.">",$sujet,$body,$tete);
  }
?>

Source : http://www.asp-php.net/tutorial/asp-php/em...=87329&resum=no

Note sur le site : A noter : Chez certains hébergeurs (Nexen) il faut utiliser une fonction email() de leur cru... chez d'autres, la fonction mail() a carrément été supprimée !... :((

2. Récuperer les valeurs des champs du formulaire :

<?php
if ($contenu!="")
{
echo "Valeur du textarea : ",$contenu;
}
if ($texto!="")
{
echo "<br>Valeur de l'input : ",$texto;
}
?>

<html>
<body>
<form action="<?$PHP_SELF;?>" method="post">

<textarea name="contenu" cols="10" rows="5"></textarea>
<br>
<input type="text" name="texto" >

<input type="submit" value="valider">
</form>
</body>
</html>

Source : http://www.creation-du-web.com/honolulu/index.php?page=php4

3. Application

En gros tu fais un truc du genre

$body = "Nom : ".$contenu." - Prénom : ".$texto

Puis tu applique la fonction mail en haut

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.