Created
April 19, 2012 17:56
-
-
Save endymion/2422618 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $structure = sys_get_temp_dir().'/bla'; | |
| if (is_dir($structure)) { | |
| echo ('Directory exists: ' . $structure); | |
| } | |
| else { | |
| if (!mkdir($structure, 0, true)) { | |
| die('Failed'); | |
| } | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment