Hi there

I'd like to know if this is at all possible...I'm sure it is but I haven't been able to find a single function that would do this in php.net's manual. The only function I've found is the copy() function but that only copies a single file or folder. I thought of maybe reading the contents of the folder with a php function and then using the data to move each file individually but I'm not able to find a function that reads contents of a folder.

Found my solution...the great and wonderful (to me at least :P) scandir() function.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.