[thelist] how to delete everything in a dir using php

Howard Cheng howcheng at ix.netcom.com
Wed Sep 25 18:14:00 CDT 2002


Can't you just chdir to the directory you want and then do unlink("*.*")?

At 10:31 PM 9/25/2002 +0000, Dunstan Orchard wrote:
>I realise you probably use unlink() but I'm unable to find a way to select
>everything in a dir and apply that command to it.

::::::::::::::::::::::::::::::::::
Howard Cheng
http://www.howcheng.com/ <-- NEW!
howcheng at ix dot netcom dot com
AIM: bennyphoebe
ICQ: 47319315




More information about the thelist mailing list