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.
Dear CuteNews Users! Please feel free to contact us via our new Feedback Form and please send information about bugs to our bug tracker.
You are not logged in. Please login or register.
CutePHP Forums → Problem Solving / Help & Support → 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.
"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('http://example.com/cutenews/example1.php'); 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.
CutePHP Forums → Problem Solving / Help & Support → sharing one database between two domain
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.