Vérifier si la procédure ‘include’ a fonctionné

Author:


Download

 <html>
<head>
<title>Inclusion avec retour</title>
</head>
<body>
<?php
    $resultat = include("page.php");
    print ($resultat==1?"Fichier inclut avec succès":"Le fichier n'a pas été inclut");
?>
</body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *


× 9 = twenty seven