Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Oct 2002
    Location
    Milwaukee, Wisconsin
    Posts
    123
    Thanks
    1
    Thanked 0 Times in 0 Posts

    linking mysql database to another site instead of localhost?

    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

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •