Incredinot Posted March 2, 2010 Share Posted March 2, 2010 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 More sharing options...
Wolphie Posted March 2, 2010 Share Posted March 2, 2010 You should be absolutely fine to do this, sounds like a reasonable solution. Link to comment https://forums.phpfreaks.com/topic/193881-show-things-from-other-database/#findComment-1020351 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.