Results 1 to 4 of 4
July 12th, 2004, 04:06 PM #1
I don't know if this is possible maybe some here will be able to tell me.
I have a website say abc.com and I want to connect to a database that is on my other site xzw.com, can this be done if so is it possible to tell me the code to use please?One day parasites and their ilk will be made illegal, I bet a few Lawyers will be pissed off when the day comes.
Mr. Spitzer is fetching it nearer
July 12th, 2004, 04:17 PM #2
yes it can be done...
you need to set the database if website xyz to accept remote access
change localhost in your config to xyz.com
on website abc.com
July 12th, 2004, 06:46 PM #3
- Join Date
- January 18th, 2005
Also, if they're with the same host, see if you can backend them, that is link them together directly without using the Itnernet. Otherwise the host is going to tag you for bandwidth.
July 14th, 2004, 09:26 AM #4
This works for me Gordon:
$dbhost = "xzw.com/pathtodatafeed.txt";
$dbuser = "yourusername";
$dbname = "databasename";
$dbpass = "yourpassword";
$db = mysql_connect("$dbhost","$dbuser","$dbpass");
Frank"Just the facts, Ma'am." Sgt. Joe Friday, Dragnet
By SupremeWebinar in forum Introduce YourselfReplies: 2Last Post: October 31st, 2013, 09:32 PM
By Mack in forum AM NavigatorReplies: 15Last Post: June 22nd, 2007, 12:54 PM
By Wayder in forum Programming / Datafeeds / ToolsReplies: 13Last Post: September 24th, 2002, 03:58 PM