Forum Moderators: coopster

Message Too Old, No Replies

how to update one website content with automatically to another websit

         

ramakrishnankt

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

10+ Year Member



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

Thanks
Ramakrishnant

JohnCanyon

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

10+ Year Member



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.

ramakrishnankt

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

10+ Year Member



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