Results 1 to 4 of 4
July 12th, 2004, 03: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, 03: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, 05:46 PM #3
- Join Date
- January 17th, 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, 08: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, 08:32 PM
By Mack in forum AM NavigatorReplies: 15Last Post: June 22nd, 2007, 11:54 AM
By Wayder in forum Programming / Datafeeds / ToolsReplies: 13Last Post: September 24th, 2002, 02:58 PM