For a guide to the choosing ASP or PHP, click here

Remove a Directory

Home >> Text Files >> Remove a Directory

This chunk of code simply shows how to detect if a local directory exists, and if so, delete it. The scripts ensure that the folder exists, but does not make sure it is empty; if files are still in the directory, it will not work.

ASP



What is ASP?

PHP



What is PHP?