Files
resatennis_tyroltenn/www/site_marchand/inscription/valid.php

50 lines
1.1 KiB
PHP
Executable File

<?php
session_start();
$idcli=$HTTP_GET_VARS["idcli"];
?>
<html>
<head>
<link href="../style.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
color: #FFFFFF;
text-decoration: none;
}
a:hover {
color: #FFFFFF;
text-decoration: underline;
}
a:active {
color: #FFFFFF;
text-decoration: none;
}
-->
</style>
</head>
<body class="bgcolor" text="white">
<?php
$etatcli='on';
require("../connexion.php");
$conn = mysql_connect($host, $user, $password);
mysql_select_db($bdd) or die("IMpossible d'ouvrir la base de donnee $bdd");
$requete = "update client set etatcli='$etatcli'
where
idcli='$idcli'";
$result=mysql_query($requete) or die ("Erreur SQL :$requete<br>".mysql_error()."...");
?>
Votre compte est à présent actif.
<br><br>
<a href="../index.html">Connectez-vous</a>
</body>
</html>