Topic: sharing one database between two domain

I would like to know if i can use the news of a database that it is on  one domain in another one.

2 (edited by 2012-10-28 17:24:23)

Re: sharing one database between two domain

"Using a database" can mean a lot of things. Two domains certainly pose a problem but there are a few things we can work with.

Displaying news: Easiest way is probably using a frame on the other website and displaying a page of the first domain, which contains the CuteNews stuff. An include code with something like include(''); won't work in most cases and, if I'm not mistaken, it's inefficient.
As for adding news or any other functions that require a lot of user-server communication, again, it's not impossible, but you'd need to do a lot of coding for essentially no gain, since users could just be redirected to the second domain.

I hope that helps.