Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/10/2012, 18:24
Avatar de LuaToto
LuaToto
 
Fecha de Ingreso: octubre-2012
Ubicación: Veracruz
Mensajes: 26
Antigüedad: 11 años, 6 meses
Puntos: 0
Respuesta: borrar archivos ftp con php

aqui hay un ejemplo basico de Unlink
Código PHP:
Ver original
  1. <?php
  2. $fh = fopen('test.html', 'a');
  3. fwrite($fh, '<h1>¡Hola mundo!</h1>');
  4. fclose($fh);
  5.  
  6. unlink('test.html');
  7. ?>
Fuente: http://www.php.net/manual/es/function.unlink.php