Forum Moderators: coopster
I want to have a script compare the domain name that the script is running on to the domain name stored in a MySQL database on a remote server.
I am pretty sure that it can be done and if it can be, could someone show me a sample of the code that would be needed to achieve this?
I know how to get the domain name of the server that the script is running on using the $domain=$_SERVER['HTTP_HOST']; function but I need to know how to access the MySQL database on the remote server to compare it to.
Thanks