Problème avec la fonction INCLUDE de PHP
Résolu
tipex
-
tipex -
tipex -
Bonjour,
Je souhaite effectuer un premier test avec la fonction "include" en affichant le mot "bonjour" mais à la palce, j'ai le message d'erreur suivant:
voici le fichier à inclure,je l'ai nommé "inclusion.inc.php":
et le principal:
Je souhaite effectuer un premier test avec la fonction "include" en affichant le mot "bonjour" mais à la palce, j'ai le message d'erreur suivant:
Warning: include(inclusion.ext) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\tests\p.php on line 6 Warning: include() [function.include]: Failed opening 'inclusion.ext' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\tests\p.php on line
voici le fichier à inclure,je l'ai nommé "inclusion.inc.php":
<?php echo "BONJOUR"; ?>
et le principal:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <body> <?php include("inclusion.ext"); ?> </head> </body> </html>
A voir également:
- Problème avec la fonction INCLUDE de PHP
- Fonction si et - Guide
- Easy php - Télécharger - Divers Web & Internet
- Fonction miroir - Guide
- Fonction moyenne excel - Guide
- Expert php pinterest - Télécharger - Langages