Click to See Complete Forum and Search --> : How to connect to database


Anon
02-18-2002, 03:10 AM
hello
is it possible that if i want to connect to database from that is placed in another domain. i have password and login of that database.
plz guide me??
regards.
shams

Anon
02-18-2002, 12:11 PM
yes affcorse, but database have to allow connection from outside.

in case that you need to connect to mysql database you can use

mysql_connect("122.122.122.122", "username","password");

or insteed IP number, you can use domain name.