Jump to content

need to connect to mysql database from separate server


noahyamen

Recommended Posts

So here's what I've got going on. I've created a contact form that both sends the contents to someone's inbox, and saves a record of it in a database table.

 

The problem is that the site is hosted on someone else's server, but the database is hosted on OURS. So far, all the database work I've done has been on the localhost.

 

So what I need to know is: How do I setup, or what do I need to setup, in order to allow permission for the contact form from another server to save into my database on my server? What does the php connection settings look like in this case?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.