Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/04/2009, 18:40
Avatar de anlhp
anlhp
 
Fecha de Ingreso: agosto-2008
Mensajes: 121
Antigüedad: 15 años, 7 meses
Puntos: 1
Exclamación Problema tont pero problema al fin

hola tios, con esto si qe la cabeza me explota, tengo el siguiente php:
Código PHP:
        $func_dir realpath('..'.DIRECTORY_SEPARATOR.'functions');
    
$include_path ini_get('include_path');
    if(
strpos($include_path$func_dir) === false)
    {
        
$ps strchr($include_path';')?';':':';
        
ini_set('include_path'$include_path.$ps.$func_dir);
    }
    
    require_once(
'basic.php');
    
    
error_reporting();
    
    require_once(
'./lib/php/globals.php');
    require_once(
'./lib/php/utils.php');
    
    echo(
"hi"); 
y sucede qe 'hi' no aparece, en cambio, si comento la ultima linea require_once('./lib/php/utils.php'); si qe me aparece, he revisado, cambiado nombres y todo lo posible por si era la ruta qe la escribia mal pero es esa!!
para info utilizo MAMP