homepage Welcome to WebmasterWorld Guest from 54.204.231.253
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
how to update one website content with automatically to another websit
ramakrishnankt




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

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

Thanks
Ramakrishnant

 

JohnCanyon




msg:4025141
 4:13 am on Nov 15, 2009 (gmt 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.

ramakrishnankt




msg:4025185
 8:12 am on Nov 15, 2009 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved