<html><body>
<? if(@$_POST["login"] == "ici ton code") {
header("Location: lien vers la page correcte");
?>
header("Location: idem");
<? } else {
header("Location: lien vers la page error ");
?>
<form method="post">
<table><tr>
<td><input type="text" name="login"></td>
<td><input type="Submit" value="Valider"></td>
</tr></table>
</form>
<? } ?>
</body></html>
<html><body>
<? if(@$_POST["login"] == "1234") {
header("Location: http://www.mytesting.fr");
?>
header("Location: http://www.mytesting.fr ");
<? } else {
header("Location: lien vers la page error ");
?>
<form method="post">
<table><tr>
<td><input type="text" name="login"></td>
<td><input type="Submit" value="Valider"></td>
</tr></table>
</form>
<? } ?>
</body></html>
header("Location:http://www.mytesting.fr/2016/06/comment-integrer-un-mot-de-passe-a-un-article.html");
commentaires