g l'url : "http://localhost/php1/ab.php?lien=1" et j'ai le script suivant dans la page ab.php :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 $lien = null switch($lien){ case 1: $fichier = "pub.php"; default : $fichier = "untitled.php"; }; include ($fichier)
mais le problem c'est que $fichier prend tout jour "untitled.php" je sait pa pourquoi !! svp aider moi !!
Partager