Topic: sharing news in two domains

I would like to share my news in two domains.
I tried to insert the php script of the first domain in the second domain but it doesn't operate.
how can I do?

Re: sharing news in two domains

I would like to share my news in two domains.
I tried to insert the php script of the first domain in the second domain but it doesn't operate.
how can I do?

anyone can help me?

Re: sharing news in two domains

anyone can help me?

Are both of your domains connected together with the same hosting account?

If it's set up like this:

public_html folder
   - domain-1-folder
   - domain-2-folder

You would put your news folder in any of the domain folders and set them up like this:

domain1/index.php:  include("news/show_news.php");

domain2/index.php: include("./domain1/news/show_news.php")