Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $dirPath = "images/new_images";
- $result = mkdir($dirPath, 0755);
- if ($result == 1) {
- echo $dirPath . " has been created";
- } else {
- echo $dirPath . " has NOT been created";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement