Proble. includes

souit -  
burnedsyn Messages postés 174 Statut Membre -
Bonjour,
j'ai un problème avec mes <include>

Les includes ne fonctionne pas ici : http://jeunesdoyenherbiers.free.fr/mouv/ace/ace.php

Je ne comprends vraiment pas pourquoi...

pouvez-vous m'aidez ? merci ;-))

4 réponses

burnedsyn Messages postés 174 Statut Membre 16
 
Bonjour,

Le probleme viens certainement du chemin du fichier que tu veux inclure.
comme je vois les choses ..

tu as un repertoire ou tu as tes fichiers htm et ton fichier php est dans le meme repertoire mais dans tes include tu lui dis prend le fichier dans le repertoire parent

include('./monfichier.htm'); ceci inclurais le fichier monfichier.htm si il se trouvais au meme niveau que le fichier php qui l'inclu
0
souit
 
non mes fichiers htm ne sont pas dans le même repertoire que le php. J'ai essayé avec qu'un seul point (on sais jamais) et sans les point ni le slash masi ça ne change rien du tout... c'est bizarre....
0
burnedsyn Messages postés 174 Statut Membre 16
 
peux tu poster ton code stp car la en aveugle c pas évident
merci
tim
0
burnedsyn Messages postés 174 Statut Membre 16
 
et tu es sure de la casse donc pas de majuscule dans les noms de fichiers etc ?
car l'include ne devrait pas poser probleme a moins qu'il y ai un truc particulier pour free la je sais pas
0
souit
 
je sais qu'il est long (et sale) mais bon si ça peut aider...

<?php
include '../design/haut.htm'; ?>

<div style='position:absolute; left:0px ;top:75px;'>
<?php include '../fond_menu12.htm'; ?>
</div>

<div style='position:absolute; left:0px ;top:100px;'>
<?php include '../menu/menu.htm'; ?>

<html>
<head>
<STYLE TYPE="text/css">
BODY {
scrollbar-face-color: #0000FF;
scrollbar-shadow-color: grey;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: black;
scrollbar-darkshadow-color: black;
scrollbar-track-color: #FFFFCC;
scrollbar-arrow-color: #FFFFCC;
}
</STYLE>

<title>page ACE</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
background-color: #FFFFCC;
margin-left: 0px;
margin-top: 0px;
margin-bottom: 0px;
}
.Style1 {
font-family: "Harlow Solid Italic";
font-size: large;
color: #009966;
}
.Style2 { font-family: "Harlow Solid Italic";
font-size: large;
}
.Style4 {font-size: medium}
.Style5 {
color: #FF0033;
font-family: Geneva, Arial, Helvetica, sans-serif;
}
.Style6 {color: #000000}
.Style9 {
font-family: Jokerman;
font-size: large;
color: #FF0000;
font-weight: bold;
}
.Style14 {
color: #000000;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: x-small;
}
.Style16 {font-size: large}
.Style17 {font-family: Jokerman; font-size: medium; color: #FF0000; font-weight: bold; }
.Style21 {font-size: 7px}
.Style23 {font-size: 36px}
.Style24 {font-family: Jokerman; font-size: medium; color: #CCCCCC; font-weight: bold; }
.Style25 {color: #FFFFFF}
.Style26 {
color: #FFFF00;
font-size: large;
font-weight: bold;
}
.Style27 {
color: #000000;
font-size: medium;
font-weight: bold;
}
-->
</style>
</head>

<body>
<div style='position:absolute; left:209px ;right:0px ;top:75px;'>
<table width="848" height="1997" border="0" cellspacing="0">
<tr>
<td width="4" rowspan="9" background="http://jeunesdoyherbiers.free.fr/design/separat.gif"> </td>
<td height="36" colspan="5" align="center" valign="top"><table width="579" border="0">
<tr>
<td width="537" background="http://jeunesdoyherbiers.free.fr/design/cadretitre.gif"><div align="center"><span class="Style1">ACE</span></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="21" background="http://jeunesdoyherbiers.free.fr/design/coinhautg.gif"> </td>
<td height="21" colspan="3" background="http://jeunesdoyherbiers.free.fr/design/haut.gif"> </td>
<td height="21" background="http://jeunesdoyherbiers.free.fr/design/coinhatd.gif"> </td>
</tr>
<tr>
<td width="20" rowspan="4" background="http://jeunesdoyherbiers.free.fr/design/gauche.gif"> </td>
<td height="396" colspan="3" valign="top" bordercolor="#0000FF" bgcolor="#FFFF66">
<div align="center">
<p> </p>
<p class="Style23"><font color="#3333CC"><b>Le club Triolo et Top Ados </b></font></p>
<p class="Style21"><span class="Style23"><b><font color="#0000CC">C'est quoi ?</font><font color="#0000CC"></font><font color="#0000CC"></font></b></span></p>
<table width="69%" border="1" bgcolor="#00CCCC">
<tr>
<td height="179">
<p> </p>
<p align="center"><font face="Baskerville Old Face"><b> Les triolos
sont la tranche d'âge des 11-13 ans et les top Ados 13-15 ans de l'ACE(Action Catholique
des enfants).</b></font></p>
<p align="center"><font face="Baskerville Old Face"><b>Un lieu d'expression,
de dialogue à un âge où on a besoin de parler.</b></font></p>
<p align="center"><b><font face="Baskerville Old Face">Une vie d'équipe
pour offrir un espace de liberté où les ados peuvent
exercer ce goût de l'autonomie qu'ils recherchent.</font></b></p>
<p align="center"><b><font face="Baskerville Old Face">L'occasion
pour eux de rencontrer des témoins de lafoi, de se laisser
questionner et de mener des projets en commun, d'envergure citoyenne
</font></b></p>
<p> </p> </td>
</tr>
</table>
<p><img src="phtriolo1.jpg" width="122" height="74"></p>
<p class="Style5 Style6"><b>Un nouveau thème pour cette année 2006/2007</b></p>
<p class="Style9">"On a besoin de jouer,rêver, de s'exprimer" </p>
<blockquote>
<ul>
<li>
<div align="left">3 verbes signifiant la VIE et la LIBERTE</div>
</li>
<li>
<div align="left">3 actions dont les jeunes ont besoin pour GRANDIR et se DEVELOPPER , qui durent tout au long de la vie</div>
</li>
<li>
<div align="left">3 moyens de se connaître soi même et d'aller à la rencontre de l'autre </div>
</li>
</ul>
<blockquote>
<p align="justify" class="Style14">. </p>
</blockquote>
</blockquote>
<p><br>
<img src="logo2007-2009-petit.jpg" width="300" height="236"> </p>
<p class="Style16">Les Rendez vous <img src="agenda.jpg" width="109" height="75">de cette année...</p>
<table width="533" border="2" bordercolor="#FF0000">
<tr>
<td bgcolor="#0000FF"><p align="center" class="Style17"> </p>
<p align="center" class="Style24">Rassemblement régional TRILO-TOP ADOS</p>
<p align="center" class="Style24">Samedi 13 Octobre 2007</p>
<p align="center" class="Style24">Ancenis </p>
<p align="center" class="Style26">Journée Nationale de l'ACE </p>
<p align="center" class="Style26">Dimanche 2 décembre 2007 </p>
<p align="center" class="Style26">Repas-concert-chorale </p>
<p align="center" class="Style25"> </p>
<p align="center" class="Style25"> </p></td>
</tr>
</table>
<p class="Style16"> </p>
<p> </p>
<p class="Style5"> </p>
<p class="Style6"> </p>
<table width="75%" border="1" height="181" bgcolor="#CC33CC">
<tr>
<td height="332">
<p align="center"><u><em>Témoinage d'un club</em></u></p>
<p align="center">Quand on rencontre un club TRIOLO, voilà
ce qu'ils en disent et pensent :</p>
<p align="center">"On est 5 dans notre club, on se retrouve
tous les 15 jours le mercredi<br>
après-midi de 15h00 à 16h30. Ensemble, on discute
du collège, du sport...<br>
On fait des projets de club par exemple : <br>
- aller jouer avec les personnes âgées en maison
de retraite<br>
- organiser un retour de pélé<br>
- organiser une fête du jeu (un après-midi pour jouer
entre<br>
copains-copines)<br>
- créer un film sur la vie de notre commune... </p>
<p align="center"> </p>
<p align="center">ou d'un autre sur leur site : </p>
<p align="center" class="Style23"><br>
<a href="http://clubdesstarschambretaud.iquebec.com/" class="Style27">http://clubdesstarschambretaud.iquebec.com/</a></p>
<p align="center"> </p></td>
</tr>
</table>
<p align="center" class="Style2 Style4"> </p>
</div> </td>
<td width="30" rowspan="4" background="http://jeunesdoyherbiers.free.fr/design/droite.gif"> </td>
</tr>
<tr>
<td height="175" colspan="3" valign="top" bordercolor="#0033CC" bgcolor="#FFFF66"><div align="center"></div> <div align="center">
<blockquote>
<p> </p>
</blockquote>
</div></td>
</tr>
<tr>
<td height="176" colspan="3" valign="top" bordercolor="#0033CC" bgcolor="#33FF33"><p> </p>
<p align="center">Pour tous renseignements, contactez Emilie Hurteau<strong> </strong>au 02.51.91.03.99 </p>
<p align="center"> </p>
<p align="center">ou sur le site de l'ACE : <a href="http://ace.cef.fr/" target="_blank">http://www.ace.cef.fr</a></p></td>
</tr>
<tr>
<td width="241" height="21"> </td>
<td width="118"> </td>
<td width="423"><span class="Style2"><a href="http://jeunesdoyherbiers.free.fr/mouv/mouv.htm" target="mainFrame">Retour</a></span></td>
</tr>
<tr>
<td height="31" background="http://jeunesdoyherbiers.free.fr/design/coinbasg.gif"> </td>
<td colspan="3" background="http://jeunesdoyherbiers.free.fr/design/bas.gif"> </td>
<td width="30" background="http://jeunesdoyherbiers.free.fr/design/coinbasd.gif"> </td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
<td width="30"> </td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
<td width="30"> </td>
</tr>
</table>

<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>

<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>

<script language='javascript'>document.write('<img src="https://www.118712.fr/sortir.html + Math.round(Math.random()*100000) + '" width=1 height=1>'); </script>
<script language='javascript'>document.write('<img src="http://e.voila.fr/cgi-bin/ft/10000033638?&page=jeunes.doy.herbiers_ace.htm&n=' + Math.round(Math.random()*100000) + '" width=1 height=1>');</script></body>
</html>
0