öncelikle bir php dosyası oluşturup(örneğin: sil.php) içine şöyle bir kod bloğu eklemen gerek. daha sonra oluşturmuş olduğun bu php dosyasını cronjobs ile 24 saatte bir çalışacak şekilde ayarlarsan sorunun çözülmüş ol
<?php
$files = glob('path/to/temp/*'); // get all file namesforeach($files as $file){ // iterate files if(is_file($file)) unlink($file); // delete file}
telefondan girdiğim için kod yapısı tam yazdığım gibi gelmiyor r10a. Akşam düzenleyeceğim inşallah.
hocam bu kodda cagefs/tmp diye yazmıyor ama u to/dan once mı koycaz cagefs yı cunku o ses dosyaları cagefs klasoru ıcındekı tmp klasoru ıcınde olusuyor