j'ai fais un formulaire d'inscription qui s'appelle inscription.php des q je m suis inscrite il me renvois le messge de confirmation dans la page confiramtion.html mais le problème il me donne pas le titre de la page que j saisis ""confirmation inscription"
C'est quoi le problème aider moi svp
je vous donne les programme suivant :
1::::inscription.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Inscription</title>
<style type="text/css">
<!--
body {
background-repeat: repeat-x;
background-image: url(image/fond_degrader.jpg);
}
.Style1 {
font-size: x-large;
font-style: italic;
font-weight: bold;
}
#centre {
min-height:450px;
width: 850px;
margin: auto;
margin-top:15px;
text-align: left;
border-style: solid solid none solid;
border-color: #564EA3;
border-width: 1px;
background: #ffffff;
-moz-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-webkit-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-khtml-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
}
#r {
background-image: url(image/9609580-multicolore-banniere-ondee-vif-avec-des-etoiles.jpg);
width: 850px;
-moz-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-webkit-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-khtml-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
}
#ok {
border-style: solid solid none solid;
border-color: #677D92;
border-width: 2px;
margin-top:0px;
/* Haurizental/Vertical (H-Gauche H-Droite B-Droite B-Gauche)*/
-moz-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
-webkit-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
-khtml-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
}
#sam {
border-style: solid solid none solid;
border-color: #677D92;
border-width: 2px;
background:#ffffff;
/* Haurizental/Vertical (H-Gauche H-Droite B-Droite B-Gauche)*/
-moz-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
-webkit-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
-khtml-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
}
#g img{
/* Haurizental/Vertical (H-Gauche H-Droite B-Droite B-Gauche)*/
-moz-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-webkit-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-khtml-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
}
.Style2 {
font-size: 36px;
font-style: italic;
font-weight: bold;
}
#a { border-style: solid solid solid solid;
border-color: #eee;
width: 400px;
margin: auto;
margin-top:15px;
border-width: 2px;
background:#eee;
-moz-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-webkit-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-khtml-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
}
-->
</style><script language="javascript">
function verif()
{mes="";
if(document.form1.a.value==''){mes=mes+"\n - Veuillez renseigner votre nom";}
else {var expnom = new RegExp("^[a-zA-Z]{1,}");
if(!expnom.test(document.form1.a.value)) {mes=mes+"\n - Le nom saisie n'est pas conforme";} }
if(document.form1.b.value==''){mes=mes+"\n - Veuillez renseigner votre prénom";}
else {var exprenom = new RegExp("^[a-zA-Z]{1,}");
if(!exprenom.test(document.form1.b.value)) {mes=mes+"\n - Le prénom saisie n'est pas conforme";} }
if(document.form1.c.value==''){mes=mes+"\n - Veuillez renseigner votre adresse";}
if(document.form1.e.value==''){mes=mes+"\n - Veuillez renseigner votre e-mail";}
else {var regexp = new RegExp("^[a-zA-Z0-9_\\-\\.]{2,}@[a-zA-Z0-9\\-_]{2,}\\.[a-zA-Z]{2,4}$", "g");
if(!regexp.test(document.form1.e.value)) {mes=mes+"\n - L'adresse e-mail n'est pas valide!";} }
if(document.form1.f.value==''){mes=mes+"\n - Veuillez renseigner votre login";}
else {var expnom = new RegExp("^[a-zA-Z]{1,}");
if(!expnom.test(document.form1.f.value)) {mes=mes+"\n - Le login saisie n'est pas conforme";} }
if(document.form1.g.value==''){mes=mes+"\n - Veuillez renseigner votre mot de passe";}
if(document.form1.h.value==''){mes=mes+"\n - Veuillez confirmer votre mot de passe";}
else {
if(document.form1.g.value!=document.form1.h.value) {mes=mes+"\n - La confirmation du mot de passe est invalide!";} }
if(mes!=''){alert("ERREUR :"+mes);return false;}else{return true;}
}
-->
</script>
</head>
<body><div id="centre"><div id="r">
<table width="750" border="0">
<tr>
<td height="112"><div align="center" class="Style2">DBS AUTO </div></td>
</tr>
</table></div>
<table width="848" border="0">
<tr>
<td width="209" height="492"><div id="sam"><table width="205" height="488" border="0">
<tr>
<td width="199" height="48"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="BGCOLOR" value="#FFFFFF" />
<param name="movie" value="button1.swf" />
<param name="quality" value="high" />
<embed src="button1.swf" width="199" height="35" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" bgcolor="#FFFFFF" ></embed>
</object></td>
</tr>
<tr>
<td height="55"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="BGCOLOR" value="" />
<param name="movie" value="button2.swf" />
<param name="quality" value="high" />
<embed src="button2.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="56"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="movie" value="button58.swf" />
<param name="quality" value="high" />
<embed src="button58.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="57"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="BGCOLOR" value="" />
<param name="movie" value="button3.swf" />
<param name="quality" value="high" />
<embed src="button3.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="55"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="BGCOLOR" value="" />
<param name="movie" value="button4.swf" />
<param name="quality" value="high" />
<embed src="button4.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="65"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="movie" value="button49.swf" />
<param name="quality" value="high" />
<embed src="button49.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="53"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="BGCOLOR" value="" />
<param name="movie" value="button5.swf" />
<param name="quality" value="high" />
<embed src="button5.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="58"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="movie" value="button6.swf" />
<param name="quality" value="high" />
<embed src="button6.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="21"> </td>
</tr>
</table>
</div></td>
<td width="629"><div id="ok"><table width="631" height="508" border="0">
<tr>
<td width="621" height="29"><div align="center" class="Style1">
Formulaire d'inscription
</div></td>
</tr>
<tr>
<td height="180"><form id="form1" name="form1" method="POST" action="ins.php" onsubmit="return verif()">
<div id="a">
<table width="521" border="0">
<tr>
<td colspan="2">Nom</td>
<td colspan="2" bordercolor="#FFFFFF"><input name="a" type="text" id="a2" /></td>
</tr>
<tr>
<td colspan="2">Prenom</td>
<td colspan="2"><label>
<input type="text" name="b" />
</label></td>
</tr>
<tr>
<td colspan="2">Adress</td>
<td colspan="2"><label>
<input type="text" name="c" />
</label></td>
</tr>
<tr>
<td colspan="2">N telephone</td>
<td colspan="2"><label>
<input type="text" name="d" />
</label></td>
</tr>
<tr>
<td colspan="2">E-mail</td>
<td colspan="2"><label>
<input type="text" name="e" />
</label></td>
</tr>
<tr>
<td colspan="2">Etat client </td>
<td colspan="2"><label>
<select name="jj" id="jj">
<option>anseig</option>
<option>moudjahid</option>
<option>particulier</option>
</select>
</label></td>
</tr>
<tr>
<td colspan="2">Login</td>
<td colspan="2"><label>
<input type="text" name="f" />
</label></td>
</tr>
<tr>
<td colspan="2">Mot de passe</td>
<td colspan="2"><label>
<input type="password" name="g" />
</label></td>
</tr>
<tr>
<td colspan="2">Confirmer le mot de passe </td>
<td colspan="2"><label>
<input type="password" name="h" />
</label></td>
</tr>
<tr>
<td width="125"> </td>
<td width="76"><label>
<input type="submit" name="Submit" value="Envoyer" />
</label></td>
<td width="89"><label>
<input type="Reset" name="Reset" id="Reset" value=" Rénitialiser" />
</label></td>
<td width="304"> </td>
</tr>
<tr>
<td colspan="4"><div align="center"></div></td>
</tr>
<tr>
<td colspan="4"><div align="left"><em>***Tous les champs sont obligatoire*** </em></div></td>
</tr>
</table>
</div>
</form> </td>
</tr>
<tr>
<td height="120"><p> </p> </td>
</tr>
</table>
</div></td>
</tr>
</table></div>
</body>
</html>
voici le programme qui execute le code::s'appelle ins.php
<?PHP
include('connexion.php');
$nom_client=$_POST['a'];
$prenom_client=$_POST['b'];
$adr_client=$_POST['c'];
$num_tel_client=$_POST['d'];
$e_amil_client=$_POST['e'];
$login_client=$_POST['f'];
$psw_client=$_POST['g'];
$etat_cl=$_POST['jj'];
mysql_query("insert into client(Nom_client,Prenom_client,Adr_client,Num_tel_client,E_amil_client,etat_client,Login_client,Psw_client)
values('$nom_client','$prenom_client','$adr_client','$num_tel_client','$e_amil_client','$etat_cl','$login_client','$psw_client')")or die(mysql_error());
include('confirmation1.html');
?>
et voila le page de confirmation
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Confirmation inscription</title>
<style type="text/css">
<!--
body {
background-repeat: repeat-x;
background-image: url(image/fond_degrader.jpg);
}
#tr{
margin: 1em 0px;
padding-top: 10px;
background: url(image/form_top.gif) no-repeat scroll 0px 0px transparent;
/* Haurizental/Vertical (H-Gauche H-Droite B-Droite B-Gauche)*/
-moz-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
-webkit-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
-khtml-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
}
#a{
border-style: solid solid solid solid;
border-color: #eee;
width: 400px;
margin: auto;
margin-top:10px;
border-width: 8px;
background:#eee;
-moz-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-webkit-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-khtml-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
}
#centre {
min-height:250px;
width: 850px;
margin: auto;
margin-top:15px;
text-align: left;
border-style: solid solid none solid;
border-color: #564EA3;
border-width: 1px;
background: #ffffff;
-moz-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-webkit-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-khtml-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
}
#r {
background-image: url(image/9609580-multicolore-banniere-ondee-vif-avec-des-etoiles.jpg);
width: 850px;
-moz-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-webkit-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-khtml-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
}
#ok {
border-style: solid solid none solid;
border-color: #677D92;
border-width: 2px;
margin-top:0px;
/* Haurizental/Vertical (H-Gauche H-Droite B-Droite B-Gauche)*/
-moz-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
-webkit-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
-khtml-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
}
#sam {
border-style: solid solid none solid;
border-color: #677D92;
border-width: 2px;
background:#ffffff;
/* Haurizental/Vertical (H-Gauche H-Droite B-Droite B-Gauche)*/
-moz-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
-webkit-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
-khtml-border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
border-radius: 15px 15px 0px 0px / 15px 15px 0px 0px;
}
#g img{
/* Haurizental/Vertical (H-Gauche H-Droite B-Droite B-Gauche)*/
-moz-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-webkit-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-khtml-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
}
.Style2 {
font-size: 36px;
font-style: italic;
font-weight: bold;
}
#a { border-style: solid solid solid solid;
border-color: #eee;
width: 400px;
margin: auto;
margin-top:10px;
border-width: 8px;
background:#eee;
-moz-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-webkit-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
-khtml-border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
border-radius: 15px 15px 15px 15px / 15px 15px 15px 15px;
}
.Style3 {
font-size: x-large;
font-style: italic;
font-weight: bold;
}
-->
</style></head>
<body><div id="centre"><div id="r">
<table width="848" border="0">
<tr>
<td width="840" height="113"><div align="center" class="Style2">DBS AUTO </div></td>
</tr>
</table></div>
<table width="850" border="0">
<tr>
<td width="209" height="449"><div id="sam">
<table width="205" height="436" border="0">
<tr>
<td width="199" height="44"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="BGCOLOR" value="#FFFFFF" />
<param name="movie" value="button1.swf" />
<param name="quality" value="high" />
<embed src="button1.swf" width="199" height="35" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" bgcolor="#FFFFFF" ></embed>
</object></td>
</tr>
<tr>
<td height="53"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="BGCOLOR" value="" />
<param name="movie" value="button2.swf" />
<param name="quality" value="high" />
<embed src="button2.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="50"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="movie" value="button52.swf" />
<param name="quality" value="high" />
<embed src="button52.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="44"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="BGCOLOR" value="" />
<param name="movie" value="button3.swf" />
<param name="quality" value="high" />
<embed src="button3.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="55"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="BGCOLOR" value="" />
<param name="movie" value="button4.swf" />
<param name="quality" value="high" />
<embed src="button4.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="45"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="BGCOLOR" value="" />
<param name="movie" value="button5.swf" />
<param name="quality" value="high" />
<embed src="button5.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="53"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="BGCOLOR" value="" />
<param name="movie" value="button49.swf" />
<param name="quality" value="high" />
<embed src="button49.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="51"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 " width="199" height="35">
<param name="BGCOLOR" value="" />
<param name="movie" value="button6.swf" />
<param name="quality" value="high" />
<embed src="button6.swf" quality="high" pluginspage="
https://get.adobe.com/flashplayer/ " type="application/x-shockwave-flash" width="199" height="35" ></embed>
</object></td>
</tr>
<tr>
<td height="21"> </td>
</tr>
</table>
</div></td>
<td width="631"><div id="ok"><table width="626" height="458" border="0">
<tr>
<td width="620" height="415"><div id="tr">
<table width="618" border="0">
<tr>
<td width="612"><div align="center">
<p class="Style3"><img src="image/accept.png" width="34" height="34" />Inscription faite avec succès</p>
<p align="center" class="Style3"> cliquer <a href="authentification_client.php">ici</a> pour acceder a votre compte </p>
</div></td>
</tr>
</table>
</div>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p></td>
</tr>
<tr>
<td height="21"> </td>
</tr>
</table>
</div></td>
</tr>
</table>
</div>
</body>
</html>
Afficher la suite