Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/08/2004, 15:31
Frasco
 
Fecha de Ingreso: agosto-2003
Ubicación: España - Madrid
Mensajes: 169
Antigüedad: 20 años, 8 meses
Puntos: 0
Problemilla en php

Resulta que tengo un foro en php y he hecho una cabecera para que todas las páginas de mi web la tengan. He llamado desde el archivo index del foro a la cabecera y a continuacion se llama a los archivos que definen el foro (estilo, funciones...todo el código en sí). Pues la cuestión es que no se acaba de ejecutar todo el código. Cuando ya publico la página en internet le doy al foro y sale la cabecera pero incompleta, y cuando le doy con el boton derecho no acaba de salir todo el código, solo sale una parte, la justa como para que solo se haga lo que se ve en la cabecera sin acabar.
Qué puedo hacer para que ejecute todo el código??
Qué ocurre??
Este es el código de la página del foro, como se puede observar llamo a varios archivos:

Código HTML:
<textarea><html>
<head>
<title>&gt;&gt;&gt;&gt;&gt; De ToDo Un PoCo &lt;&lt;&lt;&lt;&lt; / FORO</title>
<link rel="stylesheet" type="text/css" href="estilo.css">
</head>
<body>

<!-- Inicio del foro -->

<? include("../cabecera.php"); ?> <?php include("foro.php"); ?>

<!-- Fin del foro -->

</body>
</html></textarea> 
Y esta es la única parte del código que logra leerse cuando se ejecuta ya en la red:

Código HTML:
<textarea><!--pubpopup-->
<HTML>

<script language="javascript">
<!--
function dopopup() { window.open('http://www.iespana.es/heberg/pubp.htm?Time=1092346081&Url=/frggsdetodounpoco/Foro/index.php&Nom=frggsdetodounpoco&POP=1', 'pubpopup', 'toolbar=0,location=0,status=0,menubar=0,scrollbars=1,height=140,width=468'); }
setTimeout('dopopup()', 1500);

//-->
</script>
</html>
<html>
<head>
<title>&gt;&gt;&gt;&gt;&gt; De ToDo Un PoCo &lt;&lt;&lt;&lt;&lt; / FORO</title>
<link rel="stylesheet" type="text/css" href="estilo.css">
</head>
<body>

<!-- Inicio del foro -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>	

<script language="javascript" src="sniffer.js">

//Top Navigational Bar III v3.4.1.1b (By BrotherCake @ [email][email protected][/email])
//Permission granted/modified by Dynamicdrive.com to include script in archive
//For this and 100's more DHTML scripts, visit [url]http://www.dynamicdrive.com/[/url]
//This notice MUST stay intact for legal use

</script>
<script language="javascript1.2" src="custom.js"></script>
<script language="javascript1.2" src="style.js"></script>

<!-- CÓDIGO PRECARGA EN HEAD -->
<script language="JavaScript">
<!--
ns=document.layers
ie=document.all
function esconde() {
  if (ie) precarga.style.visibility="hidden";
  if (ns) document.precarga.visibility="hide";
}
// -->
</script>
<style>
#precarga{position:absolute; width:100%; height:100%; top:0; left:0}
</style>

<!-- CÓDIGO BARRA DESPLAZAMIENTO AZUL -->
<style TYPE="text/css">
<!--
body { scrollbar-face-color: #666699; scrollbar-shadow-color: #FFFFFF; scrollbar-highlight-color: #000000; scrollbar-3dlight-color: #000000; scrollbar-darkshadow-color: #000000; scrollbar-track-color: #FFFFFF; scrollbar-arrow-color: #FFFFFF }
-->
</style>

<!-- CÓDIGO COLORES LINKS -->
<style>
<!--

.menuskin{
	position:absolute;
	width:166px;
	background-color:#5BE37D;
	border:2px solid black;
	font:normal 12px Verdana;
	line-height:18px;
	z-index:100;
	visibility:hidden;
	left: 62px;
	height: 23px;
}

.menuskin a{
text-decoration:none;
color:black;
padding-left:10px;
padding-right:10px;
}

#mouseoverstyle{
background-color:highlight;
}

#mouseoverstyle a{
color:white;
}
-->
</style>
<style type="text/css">
<!--
A
{
	color: white;
    TEXT-DECORATION:none
}
A:hover
{
	color: red;
	TEXT-DECORATION:none
}
-->
</style>

<!-- CÓDIGO ANTIERROR -->
<script>function antierror(){return true}; window.onerror = antierror;</script>

<!-- CÓDIGO PRECARGA EN BODY -->

  <script language="JavaScript">
if(ie || ns) document.write('<div id="precarga" align="center"><br></div>');
</script>
<title> >>>> De ToDo UN PoCo <<<< </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table width="98%" height="6%" border="0" align="left" bordercolor="#000000" bgcolor="#0066FF">
  <tr> 
    <td><div align="justify"> </div>
      <div align="justify"> 
        <table width="112%" border="0" bordercolor="#000000">
          <tr> 
            <td> <div align="right"> </div>
              <table width="26%" height="131" border="0" align="left" bordercolor="#000000">
                <tr> 
                  <td height="123" align="right" valign="top"><div align="justify"> 
                      <table width="84%" height="34" border="0" align="center">
                        <tr> 
                          <td><tt><strong><font color="#FF0000" size="5"><a href="http://www.todounpoco.tk">www.todounpoco.tk</a></font></strong></tt></td>
                        </tr>
                      </table>
                      <p align="center"><tt><img src="http://www.iespana.es/frggsdetodounpoco/imagenes/logo.gif" width="190" height="81"></tt></p>
                    </div></td>
                </tr>
              </table>
              <table width="68%" height="141" border="0">
                <tr> 
                  <td> <table width="55%" border="0" align="left">
                      <tr> 
                        <td><tt> 
                          <script>
	var mydate=new Date();
	var year=mydate.getYear();
	if (year < 1000)
		year+=1900;
	var day=mydate.getDay();
	var month=mydate.getMonth();
	var daym=mydate.getDate();
	if (daym<10)
		daym="0"+daym;

	var dayarray=new Array("Domingo","Lunes","Martes","Miercoles","Juev</textarea>