Problème avec les accents (résolu) mais aussi avec les ' (pa
Posté : 25 sept. 2008, 22:32
Bonjour
Lorsque je clique sur un lien du type http://www.ebasket.fr/inscription.php?r ... .83.94.189
à l'affichage du prénom j'obtiens Frédéric
voici le code de la page inscription
Quel peut me dire pourquoi ?
Merci
Lorsque je clique sur un lien du type http://www.ebasket.fr/inscription.php?r ... .83.94.189
à l'affichage du prénom j'obtiens Frédéric
voici le code de la page inscription
<?php
require_once("sessions.php") ;
require_once("admin/constantes.php") ;
require ("admin/newfonctions.php") ;
$_SESSION['num_s'] = numsaison ; $_GET['reprendreq'] = stripslashes($_GET['reprendreq']) ;
$_GET['nom'] = stripslashes($_GET['nom']) ; $_GET['prenom'] = stripslashes($_GET['prenom']) ;
$_GET['pseudo'] = stripslashes($_GET['pseudo']) ; $_GET['equipe'] = stripslashes($_GET['equipe']) ;
$_GET['motiv'] = stripslashes($_GET['motiv']) ;
$text = "<!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>EBASKET Inscription</title><link href='http://www.ebasket.fr/styles/defaut.css' type='text/css' rel='stylesheet' /><meta name='Author' content='Frédéric COULAUD' /><meta name='Identifier-URL' content='http://www.ebasket.fr' /><meta http-equiv='content-Type' content='text/html; charset=iso-8859-1' /></head><body><div class='centr2'><img src='http://www.ebasket.fr/images/ebasket.gif' alt='Bannière%20Ebasket' /></div>" ;
$text .= "<h2>Bulletin d'inscription de ".$_GET['pseudo']." </h2><form method='post' action='http://www.ebasket.fr/validinscrit2.php?reprendreq=".AjoutSlash(str_replace(' ','%20',$_GET['reprendreq']))."&numsaison=".$_SESSION['num_s']."&'><div>" ;
$text .= "Nom : <input type='text' name='nom' size='30' value='".$_GET['nom']."' maxlength='30' /><br />" ;
$text .= "Prénom : <input type='text' name='prenom' size='30' value='".$_GET['prenom']."' maxlength='30' /><br />" ;
$text .= "Pseudo : <input type='text' name='pseudo' size='8' value='".$_GET['pseudo']."' maxlength='8' /><br />" ;
$text .= "Mot de passe : <input type='password' name='password' size='8' value='".$_GET['password']."' maxlength='8' /><br />" ;
$text .= "Equipe : <input type='text' name='equipe' size='30' value='".$_GET['equipe']."' maxlength='30' /><br />" ;
$text .= "Pays : <input type='text' name='pays' size='30' value='".$_GET['pays']."' maxlength='30' /><br />" ;
$text .= "Etat de la salle : <input type='text' name='etat' size='10' value='".$_GET['etat']."' maxlength='10' /><br />" ;
$text .= "E-mail : <input type='text' name='mail' size='50' value='".$_GET['mail']."' maxlength='50' /><br />" ;
$text .= "Motivation : <textarea name='motiv' rows='5' cols='50'>".$_GET['motiv']."</textarea><br />" ;
$text .= "IP : <input type='text' name='ip' size='50' value='".getenv("REMOTE_ADDR")."' maxlength='50' /><br />" ;
$text .= "</div><div class='centr2'><input class='bouton' type='submit' value='Enregistrer' name='enregistrer' /></div></form></body></html>" ;
echo "$text" ;
?>
Quel peut me dire pourquoi ?
Merci