idiocy is not an excuse...

Mar 02, 2005 08:52

Alright so I'm at work right now right... well anyways, I'm writing a way to basically delete all the files in a directory and then removing it, since I need it for a project I'm writing. Anyways... I executed it inside the admin folder and it deletes ALL the work im working on, rofl.... thank god for backups <3!!!!!

/*foreach(glob("*.*") as $filename)
{
echo "$file size " . filesize($filename) . "\n";
unlink($filename);
}*/

it's commented out right now, damn fucking lol!
Previous post Next post
Up