Results 1 to 3 of 3

Thread: Connections to the MySQL database

  1. #1
    Join Date
    Jan 2008
    Posts
    55
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Connections to the MySQL database

    I've just re-set up a gig guide but this time in MySQL and not using access.

    What I want to do is allow bands / venues the ability to draw info from that database and display their gigs on their own site, saves them having to enter data twice. If I'm hosting the site, then not a problem. But what about giving out connection strings to 'third parties'. Anyway of encryping / hiding the user name and password?

    I tried using an includes file linked to the dbconnection on the main site but that file is 'not found' although it does exist.

  2. #2
    Join Date
    Feb 2004
    Posts
    4,903
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    Quote Originally Posted by UKFlyer View Post
    What I want to do is allow bands / venues the ability to draw info from that database and display their gigs on their own site, saves them having to enter data twice. If I'm hosting the site, then not a problem. But what about giving out connection strings to 'third parties'. Anyway of encryping / hiding the user name and password?
    That isn't a great idea, you'd be better off providing an XML feed of the data from the site which third parties can use, that way you're always in control of the data third parties can access.

    Quote Originally Posted by UKFlyer View Post
    I tried using an includes file linked to the dbconnection on the main site but that file is 'not found' although it does exist.
    If you mean across two different domains, webspace security will prevent this.
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

  3. #3
    Join Date
    Jan 2008
    Posts
    55
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Thanks Warren, some form of RSS feed would have been my next option.... I'll investigate further - sure I'll come up with something!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Intermittent Database Connections Closed...
    By creativeworks in forum Technical Support
    Replies: 9
    Last Post: 8th January 2011, 08:07 AM
  2. Moving MySQL database to another domain
    By Roadsie in forum MySQL
    Replies: 3
    Last Post: 25th February 2009, 07:53 AM
  3. Zeroing a MySQL database
    By UKFlyer in forum General Technical Support
    Replies: 4
    Last Post: 5th March 2008, 04:21 PM
  4. How to copy a MySql database ?
    By JohnHorne in forum MySQL
    Replies: 4
    Last Post: 6th November 2005, 12:31 PM

Bookmarks

Posting Permissions

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