copy() - Entire directory contents?

Discussion in 'PHP' started by Agent_Smith, May 17, 2008.

  1. #1
    Hello,

    Ive done a google search on this, nothing readable came up.

    Can someone give me a starting direction on how copy a entire folder and it's contents to another folder?

    The only reason i ask is that i've done the simply copy one file... copy another file.... etc and just wondered how easy it would be to copy all at once.

    Thanks!
     
    Agent_Smith, May 17, 2008 IP
  2. wmtips

    wmtips Well-Known Member

    Messages:
    601
    Likes Received:
    70
    Best Answers:
    1
    Trophy Points:
    150
    #2
    wmtips, May 17, 2008 IP