A voir également:
- Problème PHP
- Easy php - Télécharger - Divers Web & Internet
- Expert php pinterest - Télécharger - Langages
- Retour a la ligne php - Forum Webmastering
- Alert php - Forum PHP
- Retour a la ligne php ✓ - Forum PHP
3 réponses
Salut ça veut dire que tu as une erreur de syntaxe, donc soit l'oubli d'un point-vigule, ou d'apostrophe ... Mais dans ton cas vérifie que toutes les accolades soit bien fermé. { }
Euh... le code de ma page... x)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title>Tadam!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="icon" type="image/png" href="images/favicon.png" />
<link rel="stylesheet" media="screen" type="text/css" title="Style" href="style.css" />
</head>
<body style="postion: center;">
<h2>Allez, entraine-toi !</h2>
<?php if (!isset($_POST['mdp']) OR !isset ($_POST['pseudo']))
{ ?>
<form method="POST" action="lv1.php">
<p style="postion: center;">
<input type="text" value="Pseudo" name="pseudo" /> | <input type="password" value="Mot de passe" name="mdp" />
</p>
</form>
<?php } else {
if ($_POST['pseudo'] == 'giyufuidfigèè-ééughihfduigidfrgààçà)' AND $_POST['mdp'] == 'gfysuhgfezgfhvgjreygfè_ty_gfè')
{ ?>
<script language="javascript" type="text/javascript">
<!--
window.location.replace("http://ovnize.free.fr/aventhack/lv2.php");
-->
</script>
<?php } else {
echo ('Mauvais Identifiants');
} ?>
</html> <?php $end ?>