Ver Mensaje Individual
  #1 (permalink)  
Antiguo 27/12/2002, 10:58
Avatar de rickoe
rickoe
Colaborador
 
Fecha de Ingreso: abril-2001
Mensajes: 353
Antigüedad: 23 años
Puntos: 2
file_exists no me funciona

Hola

Uso el file_exists en mi pc y todo bien

pero al subirlo al server ya no funciona

este es el codigo que uso:


Código PHP:
    while ($m <= 12) {
           
$filename "mp/MP";
        
$filename .= $ano;
        
$filename .= "-";
        
$filename .= $m;
        
$filename .= ".jpg";
        
$si file_exists($filename);
        If (
$si 0) {
            echo 
"<td><A href='ver.php?a=$ano&m=$m' title='Click para ver mas grande'><img src='mp/thumb/t_MP$ano-$m.jpg' width='37' height='50'></A></td>\n";
            
$conmes++;
            
$contot++;
        }
        else {
            echo 
"<td><A href='falta.php' title='¿Quien tiene esta? Click aquí si tu la tienes.'><img src='img/yte.gif' width='34' height='50' border='0'></A></td>\n";
        }
    
$m++;
    }
echo 
"<td class='micmp2'>$conmes</td>";
$conmes 0;
$ano++;
$m 1;

Alguien por ahí tiene idea de que este fallando?

Mil gracias de antemano

Saludos

Rickoe