Bonjour,
Pour se mettre dans le contexte, voici l'arborescence du site :

Voici maintenant le code de quelques pages :
header.php<?php
include('./config.php');
include(''.$racine.'_bdd/connect.php');
include(''.$racine.'fonctions.php');$style = mysql_query("SELECT url, nom FROM style WHERE actif=\"oui\"");
$url_design = mysql_fetch_array ($style);
?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="<?php echo $racine.$url_design['url']; ?>style.css" title="<?php echo $url_design['nom']; ?>" />
<link rel="icon" type="image/png" href="<?php echo $racine.$url_design['url']; ?>favicon.ico" />
</head>
<body>
<div id="header"></div>
<a href="<?php echo $racine; ?>" class="mr_reve" title="Mr.Reve: retour accueil"></a>
</div>
<?php
echo '<div id="menu">',"\r\n";
include
(''.$racine.'menu.php');echo '</div>',"\r\n";
echo '<div id="blog">',"\r\n";
config.php<?php
$racine = 'http://localhost/blog/';
?>
/_admin/galerie_tool.php<?php
include('../config.php');
include(''.$racine.'header.php');
Le problème:Alors quand je mets dans mon header.php
include('''.$racine.'_bdd/connect.php');
include('''.$racine.'fonctions.php');
Il m'affiche ceci (depuis la page _admin/galerie_tool.php):
Warning: include(http://localhost/blog/_bdd/connect.php) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in
C:\wamp\www\blog\header.php on line
3Warning: include() [function.include]: Failed opening 'http://localhost/blog/_bdd/connect.php' for inclusion (include_path='.;C:\php5\pear') in
C:\wamp\www\blog\header.php on line
3Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in
C:\wamp\www\blog\header.php on line
6
[ Lien ]Fatal error: Call to undefined function date_fr() in C:\wamp\www\blog\comments.php on line 9
J'ai bien vérifié, c'est à cause de '.$racine.' . Ce qui me parrait bizarre c'est que l'include menu.php (en vert dans le code header.php) il me le fait correctement !
De plus, il ne fait pas l'include de _bb/connect.php ET de fonctions.php
Je suis perdu....Quelqu'un pour m'aider s'il vous plait ?