This is a discussion on copy() directory contents to another directory within the Php and MySQL forums, part of the Programming / Scripting / Coding category; copy() directory contents to another directory -------------------------------------------------------------------------------- I want to copy the contents of a directory to another directory each ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| | #1 (permalink) |
| WMT Addict | copy() directory contents to another directory -------------------------------------------------------------------------------- I want to copy the contents of a directory to another directory each time the page is loaded it should automatically update a certain directory copy new files over from a certain other directory, of this makes sense. The page that is loaded will have a list of all the files that are now in a directory (shall call it destination) upon going to that page it will first check to see if there are any new files in another directory (shall call this one source) if there are then it will copy them over to the destination directory? I have tried using the copy(); function but opening a directory, reading it and then copying it over but doesnt work, it talks about the permissions being wrong (accessed denied). I have looked at php.net - cant really understand it that well? Help. |
| | |
| Tags |
| contents, copy, directory |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My 2 new directory sites. | robertall | Ads, Offers & Services | 0 | 18-08-2008 11:16 |
| UK Directory list | coldclimber | Search Engine Optimisation (SEO) | 5 | 19-05-2008 19:04 |
| PR 4 - Web directory | anandnadaar | Ads, Offers & Services | 0 | 28-03-2006 22:21 |
| Submit to PR3 directory. | kprhosting | Ads, Offers & Services | 0 | 20-07-2005 16:53 |
| WebmasterTalk.co.uk Directory | Wistow | Forum Announcements | 12 | 12-04-2005 09:51 |