How to load something from specific file from site and to implement into 2.site

Hi.
I have 2 different sites and in first I have one file 1.php in which is 1 row code: {“link_1”:“something1”,“link_2”:“something2”,“link_3”:“something3”}

In this file something1, something2 and something3 are changed very often by some script.

Do I can on some way in my second site with php command to take only often changed something1, something2 and something3 from first site and implement into php script in my second site (and that to be visible for users into my second site)?

Can you help me and tell me how to do this (command or script to write me)?

Thank you very much, Mak

Uh, you would have a few hurdles to cross first. You would need to be able to tell what changed; either by checking the values against a known copy; or a timestamp saying it was changed.

Multiple sites can use the same files, if they are on the same server.

“Tell you how to do this” means you are looking for someone else to do this and walk you through the how. Not, time in my schedule for this.

Sponsor our Newsletter | Privacy Policy | Terms of Service