Bonjours tout le monde,
Je veu utiliser le chemin absolu d'un fichier dans la fonction include .
par exemple: l'arboscence du site est :

+montsite
-fic1.php
-fic2.php
le contenu de fic1.php est:

<?php include("/monsite/fic2.php"); ?>

j'obtient le message suivant:

Warning: include(/monsite/fic2.php) [function.include]: failed to open stream: No such file or directory in /var/www/monsite/fic2.php on line 1

Warning: include() [function.include]: Failed opening '/monsite/fic2.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/monsite/fic2.php on line 1

en utilisant <?php include("fic2.php"); ?> ca fonctionne correctement.

J'utilise apache 2.2.8 comme serveur web et php 5.2.4 sous ubuntu 8.04.

Merci.