Jump to content

Parse and email address


davieboy

Recommended Posts

If your MySQL database is hosted on another server, you will have to set up a user for the MySQL that allows connection from hosts other than localhost. Then you just write your script as you normally would as if it were being executed on the same server - just your connection settings would be different i.e.

 

$user = 'username';
$pass = 'passw0rd';
$host = '111.111.111.111'; // whatever ip your MySQL db is hosted on
$link = mysql_connect($host,$user,$pass);

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.