Ver Mensaje Individual
  #4 (permalink)  
Antiguo 10/06/2005, 12:39
Avatar de The_Dark_Roy
The_Dark_Roy
 
Fecha de Ingreso: enero-2004
Mensajes: 218
Antigüedad: 20 años, 3 meses
Puntos: 0
a la verdad no necesitas ni una funcion: basta con que hagas:

Código PHP:
if(unlink($path)){
    
header("Location:pagina.php");
}else{
    
header("Location:pagina_error.php");

asi de simple.
__________________
ojala te hayas quitado la venda

http://www.surire.cl
http://www.uta.cl