Php mkdir( ) exception handling

Posted by Doodle on Stack Overflow See other posts from Stack Overflow or by Doodle
Published on 2010-04-21T07:00:38Z Indexed on 2010/04/21 7:03 UTC
Read the original article Hit count: 395

Filed under:
|
|

mkdir() is working correctly this question is more about catching an error. Instead of printing this when the directory exists I would just like to have it write to a message to me in a custom log. How do I create this exception.

Warning: mkdir() [function.mkdir]: File exists

© Stack Overflow or respective owner

Related posts about php

Related posts about mkdir