Jump to content
Larry Ullman's Book Forums

noelmcg

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by noelmcg

  1. Hi Larry, would like to say great book, has really helped me out with my understanding of PHP and OOP.

     

    On p358, when using the mkdir() command, would it not be preferable to set the recursive parameter to TRUE? So line 23 of db_backup.php is:

     

    if (!@mkdir($dir, 0777, true)) {

     

    My script wasn't creating the directories as expected until I set this to TRUE, by default it is set to FALSE.

     

    Cheers

    Noel

×
×
  • Create New...