Jump to content

Show things from other database..


Incredinot

Recommended Posts

Alright... So right now i have these 20 webshops online...

 

On each of these i want a section where it pull in information from another site...

 

Example:

On "Site1" (in the footer), a text "Become member of bla bla today" is printet from a database NOT belonging to "Site 1".

 

So what this means is...

 

All the 20 pages will have an "include("something.php")" where in that code it connects to a mainsite db so we can advertise on all these pages, and when we update it 1 place, it updates all around.

 

Will this be hard for the mainsite db with all those connections?

Because... .On each pageview it will connect to the db, and when we at some point have 100 sites, can the db even handle all those connections?

 

Is this the right way to do it? Or should we consider something else?

 

Just for the record these webshops is on a dedicated server..

Link to comment
https://forums.phpfreaks.com/topic/193881-show-things-from-other-database/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.