Ver Mensaje Individual
  #3 (permalink)  
Antiguo 07/08/2008, 20:32
Avatar de chwc
chwc
 
Fecha de Ingreso: julio-2008
Ubicación: Buenos Aires ! :D
Mensajes: 814
Antigüedad: 15 años, 9 meses
Puntos: 103
Respuesta: problema con include.

Cita:
Prueba esto
Código PHP:
include ($_SERVER['DOCUMENT_ROOT']."/cabecera.php");
echo "soy malo";
include ($_SERVER['DOCUMENT_ROOT']."/pie.php");
Saludos!
me da este error:
Cita:
Warning: include() [function.include]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/cabecera.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a7683716/public_html/index.php on line 2



Warning: include(/usr/local/apache/htdocs/cabecera.php) [function.include]: failed to open stream: Operation not permitted in /home/a7683716/public_html/index.php on line 2


Warning: include() [function.include]: Failed opening '/usr/local/apache/htdocs/cabecera.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a7683716/public_html/index.php on line 2

soy malo

Warning: include() [function.include]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/pie.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a7683716/public_html/index.php on line 4


Warning: include(/usr/local/apache/htdocs/pie.php) [function.include]: failed to open stream: Operation not permitted in /home/a7683716/public_html/index.php on line 4



Warning: include() [function.include]: Failed opening '/usr/local/apache/htdocs/pie.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a7683716/public_html/index.php on line 4