How to create and remove directory / folder in PHP
Remove directory$mydir = '/path/directory/images/'; // this will remove images directoryif (is_dir($mydir)) {rmdir($mydir);} else {echo $mydir.' does not exists';}Create$mydir = '/path/directory/images/mkdir($mydir);Heshan Wanigasooriya
Tags
Links
Comments
Post new comment
Tags in Custom Tags
Web Service
Perl Module
Performacne Test
Ubuntu
Trac
PHP over Jsp
Ruby on Rails
Netbeans
Mac OS X
Facebook
Leopard
NuSOPA
Apple
Webservice
MSN
Drupal
MySQL
PHP vs Jsp
Workflow
JSP
Perl Funciton
NuSOAP
Yahoo
Drupal Modules
Dual Boot
Ubuntu 9.10
Object-Oriented
Wikipedia
OOP
Folder
Gmail
Projet Management
Mobile web
mysqldump
Zend Studio for Eclipse
Pidgin
Perl
PHP Clases
Video Module
Opera mini
Wiki
Unix
PHP
ASP .NET
x-send
PHP JSP Performance
Thread
Drupal Themes
.NET
PHP functions
