Can you connect to a remote database?

CannonBallGuyCannonBallGuy ModeratorShared Hoster
Could you have a script on one site that has a form, and when someone enters data in the form, have the script check a databse from a completely different site to see if the data matches or whatever?
Is that possible?

Comments

  • PythonPython Forum Leader The Royal RAM
    Yes it is possible...

    In the database connectivity you can specify the host...

    For example with mysql connections:

    mysql_connet('localhost','username','password');

    you simply change localhost to the hosts name i think

    The Royal Ram

  • CannonBallGuyCannonBallGuy Moderator Shared Hoster
    Ok, cool! :) Thanks.
Sign In or Register to comment.