|
-
Jul 12th, 2006, 12:26 AM
#1
Thread Starter
Member
comparing files and updating
Want some script code
I have two directories (source and target). Source directory contains new files
I woulike to download source to target but if target contaains same files then overwrite if target doesnot contains fille then copy new file to target.
I am new to php. Please help
-
Jul 12th, 2006, 08:29 AM
#2
Re: comparing files and updating
Have a go at doing it yourself. Then post otherwise goto www.rentacoder.com
-
Jul 12th, 2006, 10:30 AM
#3
<?="Moderator"?>
Re: comparing files and updating
look at filemtime() to check when the file was last modified. As for reading the file look at fopen()
Most people are willing to help you if you get stuck but no one will write the script for you. A quick search of this fourm will give you some good tutorials to helping you get started with PHP.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|