Parse error: syntax error, unexpected T_STRING in /mnt/109/sdc/5/b/l2elzina/form2mail.php on line 61
Je ne vois pas ou é le probleme voila le code je le rebalance meme si il n'a pas changé d'avant
<?php
$TO = "[email protected]";
$DEFAULT_EXIT_PAGE = "http://l2elzina.free.fr/inscription2.html";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "content-type: text/html; charset=iso-8859-1\r\n";
$login = $_POST['login'];
$mdp = $_POST['mdp'];
$pseudo = $_POST['pseudo'];
$race = $_POST['race'];
$sexe = $_POST['sexe'];
$classe = $_POST['classe'];
$coupe = $_POST['coupe'];
$couleur = $_POST['couleur'];
$figure = $_POST['figure'];
$message = "<html>
<head>
<title>Formulaire d'inscription</title>
</head>
<body background=http://www.little-princess-sara.net/pics/main_home.gif>
<center>
<font face=comic sans ms size=2><b><u>Je tien a rappeller que le fond et la couleur c'est Saoral qui à choisi si vous avez des réclamation faite lui en part voila.</u></b></font>
<table border=0 width=100% background=http://www.little-princess-sara.net/pics/main_home.gif>
<tr height=20 width=100%>
<td width=50></td>
</tr>
<tr height=90 width=100%>
<td colspan=3 align=center><img src=http://l2elzina.free.fr/formulaire.jpg</td>
</tr>
<tr width=100%>
<td width=50></td>
<td width=* align=center><table><td><img src=http://l2elzina.free.fr/login.jpg align=middle> <font color=red size=2><b>$login<br>
<img src=http://l2elzina.free.fr/mdp.jpg align=middle> $mdp<br>
<img src=http://l2elzina.free.fr/pseudo.jpg align=middle> $pseudo<br>
<img src=http://l2elzina.free.fr/race.jpg align=middle> $race<br>
<img src=http://l2elzina.free.fr/sexe.jpg align=middle> $sexe<br>
<img src=http://l2elzina.free.fr/classe.jpg align=middle> $classe<br>
<img src=http://l2elzina.free.fr/coupe.jpg align=middle> $coupe<br>
<img src=http://l2elzina.free.fr/couleur.jpg align=middle> $couleur<br>
<img src=http://l2elzina.free.fr/figure.jpg align=middle> $figure</b></font></td></table></td>
</tr>
<tr height=20 width=100%>
<td width=50>
</td>
<td></td>
</tr>
</table>
</center>
</body>
</html>";
$subject = "Formulaire d'inscription à Elzina"
mail($TO, $subject, $message, $headers); ///ligne 61///
if(! $exit_page)
$exit_page = $DEFAULT_EXIT_PAGE;
Header("Location: ".$exit_page);
?>
Voial si quelqu'un peut m'aider assez rapidement merci