View Full Version : linking mysql database to another site instead of localhost?
04-21-2003, 05:53 AM
im wondering cause i am planning to make a "items" sharing thingy where other sites can get like free news on their site what would an example of a host name look like? instwead of localhost
Don't quite understand the question, but i think you wan't to display info from your db in other sites?
I can think of numerous reasons why this wouldn't work:
- each site needs a db-account (lot of work for you)
- db-design chances will require all sites some updating work
- workload on your db-server
- if you move your db --> updates for all sites
What you're trying to do sounds like databrokering, so why not go XML? You just create an XML (a new file each day or on the fly when a new wewsflaxh is inserted) and a schema or DTD (these XML files are application independent and it's easier to have a fixed structure here then in the db). These sites can use the XML file (or pull them in, or you can push them towards there servers) and use there XSL file to wrap there look and feel around it.
Just a thought
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.