How do I make a "register" page in php connect to a remote server?

Dan

New member
I want to make a register page for a pserver, but the sql database and web page are on different servers. The web page is on an actual web host (host = iPower), and the sql database is on my desktop downstairs. How do I make a register page that asks for desired account name, desired password, and your e-mail, then connects to the database (which happens to be in a totally different state), checks if the account name already exists, and if not, creates a new record for the user?
 
Back
Top