PDA

View Full Version : Accessing MySQL database from another website?


MacMorag
08-17-2004, 03:24 PM
Is it possible to READ a MySQL database on Site A from Site B, and if so how?

I would like to display some Site A forum threads on Site B, but don't want to simply link to these pages. I won't be using vBulletin's showthread.php to display the threads on Site B, but will use a simple PHP script. The plan is to show the last X number of threads in site A's forum, on Site B, in the hope of encouraging visitors to Site B to have a look in the forum of Site A.

Is this possible?

Colin F
08-17-2004, 03:28 PM
If your mysql database allows connections from other hosts, yes. I think normally this isn't allowed though, you would have to ask your host.