Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/02/2012, 15:10
Avatar de Ticosoft
Ticosoft
 
Fecha de Ingreso: agosto-2008
Mensajes: 29
Antigüedad: 15 años, 8 meses
Puntos: 1
Respuesta: Problema en pasar variable a Include

Negativo amigo.. te muestro como lo estoy haciendo...

Código PHP:
            $ruta $row[pathfichero];

            echo 
"$path";

            include_once(
'gallery.php');
            
$mygallery = new gallery();
            
$mygallery->loadFolder('galley_images');
            
$mygallery->show(50010010); 
en galeria.php tengo esto


Código PHP:
        echo "$path";//verifico el nombre de la variable
        //---Guardar en un arreglo todos los archivos en el directorio    
        
$folder opendir($ruta); 


Pero me esta arrojando este error:

Warning: opendir(galley_images) [function.opendir]: failed to open dir: No error in