the array and unlink() each filename in there.
HTH
beau
// -Original Message-
// From: Nautilis [mailto:[EMAIL PROTECTED]]
// Sent: Monday, 25 February 2002 10:43 PM
// To: [EMAIL PROTECTED]
// Subject: [PHP-DB] Delete selected files
//
//
// Hi everybody,
//
// I show a list of fi
Hi everybody,
I show a list of files that I upload to the user's folder using the next
code:
$path= "../clients/$user";
$dir = opendir ($root);
while ($archivo = readdir ($dir))
{
$size = filesize("$path/$filename");
$size = ($size/1024);
$s