Voir le sujet précédent :: Voir le sujet suivant |
Auteur |
Message |
phpding html mioche
|
re , Posté le: 13-05-2005 19:09 |
|
|
Mais il reste un petit détail :
Les adresse s'enregister comme sa :
_____________________________________________________________
liste : adre@free.fr Submit : Envoyer liste : adre@voila.fr Submit : Envoyer
_____________________________________________________________
Que peut-on cha,ger pour quel s'inscrive comme sa ?
_____________________________________________________________
adre@free.fr
adre@voila.fr
_____________________________________________________________ |
|
|
iowa php mioche
|
script php abonnés , Posté le: 13-05-2005 19:10 |
|
|
a enfete tu veux que l'adresse toi ? |
|
|
phpding html mioche
|
re , Posté le: 13-05-2005 19:12 |
|
|
Oui s'est sa!
Merci Salemioche |
|
|
iowa php mioche
|
script php abonnés , Posté le: 13-05-2005 19:15 |
|
|
comme par magie ton code se transforme en :
Code: |
<?php
$fp = fopen("essai.txt","a");
$message = $_POST['nomdetonchampemail'];
fwrite($fp,$message);
fclose($fp);
?>
|
voila je precise que le nom de ton champ email doit figurer dans le code php a l'interieur de $_POST['nomdetonchampemail'];
voila |
|
|
phpding html mioche
|
re , Posté le: 13-05-2005 19:20 |
|
|
Sa va déjas mieux mais les adresse reste aligner, je voudrai quel soit chaqu'une à la ligne ? |
|
|
iowa php mioche
|
script php abonnés , Posté le: 13-05-2005 20:01 |
|
|
j'avais oublie desole
voici le bon code :
Code: |
<?php
$fp = fopen("essai.txt","a");
$message = $_POST['nomdetonchampemail'];
$message2 = $message."\n" ;
fwrite($fp,$message2);
fclose($fp);
?>
|
|
|
|
phpding html mioche
|
re , Posté le: 13-05-2005 21:35 |
|
|
Elle restent toujour alignées. |
|
|
iowa php mioche
|
script php abonnés , Posté le: 13-05-2005 22:03 |
|
|
ha salemioche est passe par la
bon ensuite remplace \n par /n |
|
|
phpding html mioche
|
re , Posté le: 13-05-2005 23:31 |
|
|
maitenant sa fait sa :
_____________________________________________________________
adres@free.fr/adres@voila.fr/n
_____________________________________________________________ |
|
|
iowa php mioche
|
script php abonnés , Posté le: 14-05-2005 9:58 |
|
|
je vais faire des essais c'est bizarre |
|
|
phpding html mioche
|
re , Posté le: 14-05-2005 15:26 |
|
|
OK, super, j'attent. |
|
|
iowa php mioche
|
script php abonnés , Posté le: 14-05-2005 15:28 |
|
|
chez moi avec le code que je t'ai filer sa marche nikel ! |
|
|
phpding html mioche
|
re , Posté le: 14-05-2005 16:29 |
|
|
Avec ce code la ?
_____________________________________________________________
<?php
$fp = fopen("liste.txt","a");
$message = $_POST['listage'];
$message2 = $message."/n" ;
fwrite($fp,$message2);
fclose($fp);
echo "vos infos sont enregistrees" ;
?>
_____________________________________________________________ |
|
|
iowa php mioche
|
script php abonnés , Posté le: 14-05-2005 16:30 |
|
|
avec celui ci :
Code: |
<?php
$fp = fopen("essai.txt","a");
$message = $_POST['nomdetonchampemail'];
$message2 = $message."\n" ;
fwrite($fp,$message2);
fclose($fp);
?>
|
|
|
|
|