Welcome to WebmasterWorld Guest from 54.226.133.245

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

how to update one website content with automatically to another websit

     
11:36 am on Nov 14, 2009 (gmt 0)

New User

5+ Year Member

joined:Nov 14, 2009
posts:4
votes: 0


Hi,
When I update one website contents it must automatically update another website contents.
Here contents are same in both websites

Thanks
Ramakrishnant

4:13 am on Nov 15, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 10, 2004
posts:126
votes: 0


Not sure what system you are running, however.. if your on a linux machine look into rsync.

You can use a cron job, or if you have access to the shell from PHP just shell_exec, the rsync command.

Cheers.

8:12 am on Nov 15, 2009 (gmt 0)

New User

5+ Year Member

joined:Nov 14, 2009
posts: 4
votes: 0


My system is linux ubundu.
i didn't know rsync command.
please explain to how to use it.
If you don't mind please give one example with coding

Thanks
Ramakrishnant