Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/09/2005, 07:28
Avatar de Salome
Salome
 
Fecha de Ingreso: noviembre-2002
Ubicación: Colombia
Mensajes: 1.032
Antigüedad: 21 años, 5 meses
Puntos: 1
Exclamación Que tengo malo con file_get_contents

Código PHP:
function retornar_query($file){
        
$file $_SERVER["DOCUMENT_ROOT"] ."/"$file;
        if (
$debug) echo $file;
        
$gestor=fopen($file,"r");
        return 
$this->retornar_query_of_stringfile_get_contents$file ) );
    } 
y esto es el error


Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/home/a2webhos/public_html/gateways/gateways/WEB-INF/sql/admon/usuario.sql) is not within the allowed path(s): (/home/lolita33:/usr/local/php5-pear:/tmp) in /home/lolita33/public_html/gateways/core/gestordb.inc on line 49