PHP rmdir() Function – Remove Directory

PHP rmdir() Function

Remove Directory in PHP

The rmdir() function is used to remove a directory from computer system.

rmdir() function syntax




rmdir() function Example

Above example we use rmdir() function to remove directory named with “meera” from computer system at php script folder.

PHP form script example to remove directory

The output of remove directory using rmdir() php example is:

php directory function
PHP rmdir() function example for remove directory


(Visited 9 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha *