Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/02/2009, 15:46
pscualinho
 
Fecha de Ingreso: febrero-2009
Mensajes: 28
Antigüedad: 15 años, 3 meses
Puntos: 0
Respuesta: problemas con funciones incluidas en un php

Estas es la estructura de carpetas que tengo

raiz: config.php (conexion a base de datos)

cdp_admin ==> funciones(carpetas) ==> conexion a base de datos (include a config.php)

cdp_admin ==> codigo(carpeta) ==> en cualquier archivo hago un include a funciones que a su vez tendría que hacer una llamada a config.php

Este es el mensaje de error



Warning: require(../config.php): failed to open strem. No such file or directory in C:\AppServ\www\top\cdp_admin\funciones\funciones.p hp on line 2

Fatal error: require() :failed opening required '../config.php'(include_path:'.;C:\php5\pear') in C:\AppServ\www\top\cdp_admin\funciones\funciones.p hp on line 2

y este es el código que le mando

require("../funciones/funciones.php");
$link = Conectarse();


Muchas gracias por la atención,.