Thread: How to connect to database mysql
Results 1 to 2 of 2
11-18-2006, 07:06 AM #1
How to connect to database mysql
i have two website
both hosted on diff. server.
now what i need is how can i make connectin to second website database from the first website:
when user register on first website a new entry should make in second website databse-table.
i do not know how to make conn. for second. website from my first website.
can any one help me.
email@example.com is my email id
11-19-2006, 06:37 PM #2
Re: How to connect to database mysql
Unless your host allows remote SQL connections, which is highly unlikely, you'd have to post the form on website a) to website b) - which would make it extremely vulnerable, and you could almost guarantee being hacked.
In short, it can be done, but I'm 99% certain it can't be done securely.