bdcode Posted December 2, 2008 Share Posted December 2, 2008 Hi I have two article sites hosted in different servers. I want to build up a form in another third site so that I can use the form to send articles to two article sites. Would you please guide me how can I do that. I m very new to PHP /MySql .. Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/135180-how-to-access-database-in-other-server/ Share on other sites More sharing options...
trq Posted December 2, 2008 Share Posted December 2, 2008 The first argument to mysql_connect is the host. Quote Link to comment https://forums.phpfreaks.com/topic/135180-how-to-access-database-in-other-server/#findComment-704039 Share on other sites More sharing options...
bdcode Posted December 2, 2008 Author Share Posted December 2, 2008 thanks , what should I enter in the first argument. IP? pls bear with me Quote Link to comment https://forums.phpfreaks.com/topic/135180-how-to-access-database-in-other-server/#findComment-704044 Share on other sites More sharing options...
trq Posted December 2, 2008 Share Posted December 2, 2008 Yeah, the ip address of the server will suffice. You will also need to make sure that the account your logging in with has permsissions to conenct from whatever host it is your connecting from. Quote Link to comment https://forums.phpfreaks.com/topic/135180-how-to-access-database-in-other-server/#findComment-704134 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.