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 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. 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 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. 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
Archived
This topic is now archived and is closed to further replies.