je croi ke c ca le code
< ?
if ( $Texte=="")
{header("location: writgold.htm");
exit;}
if ( $Nom=="")
{header("location: writgold.htm");
exit;}
$fich="GoldenBook.txt";
$Now=date("d M Y H:i:s");
$Ligne1="New".$Now.$Nom;
$LesLignes=file($fich);
$Total=count($LesLignes);
$LesLignes[$Total]=$Ligne1;
$Total++;
$LesLignes[$Total]=$Adresse;
$Total++;
$LesLignes[$Total]=$Texte;
$fp=fopen("$fich","w+");
fseek($fp,0);
/ * ECRIRE LE NOUVEL ENREGISTREMENT */
for ( $i=0; $i<=count($LesLignes); $i++)
{
$string=trim($LesLignes[$i])."\n";
fputs($fp,$string);
}
fclose($fp);
header("location: ReadGold.php3");
? >
C´est ca? Si oui je le met où? Je ne sais pas si il ya l´extension php