Assuming you are using mysql:
http://www.php.net/mysql_connect
For example, your database is at forbidden.example.com
Code: Select all
<?php
mysql_connect('forbidden.example.com', 'username', 'password') or die(mysql_error());
?>
database is at forbidden.example.com
Code: Select all
<?php
mysql_connect('forbidden.example.com', 'username', 'password') or die(mysql_error());
?>
Code: Select all
<?php
mysql_connect('forbidden.example.com', 'username', 'password') or die(mysql_error());
?>
ysql_connect[/url]
For example, your database is at forbidden.example.com
Code: Select all
<?php
mysql_connect('forbidden.example.com', 'username', 'password') or die(mysql_error());
?>
sing mysql:
http://www.php.net/mysql_connect
For example, your database is at forbidden.example.com
Code: Select all
<?php
mysql_connect('forbidden.example.com', 'username', 'password') or die(mysql_error());
?>
sing mysql:
http://www.php.net/mysql_connect
For example, your database is at forbidden.example.com
Code: Select all
<?php
mysql_connect('forbidden.example.com', 'username', 'password') or die(mysql_error());
?>
at forbidden.example.com
Code: Select all
<?php
mysql_connect('forbidden.example.com', 'username', 'password') or die(mysql_error());
?>
Code: Select all
<?php
mysql_connect('forbidden.example.com', 'username', 'password') or die(mysql_error());
?>
ttp://
www.php.net/mysql_connect[/url]
For example, your database is at forbidden.example.com
Code: Select all
<?php
mysql_connect('forbidden.example.com', 'username', 'password') or die(mysql_error());
?>
onnect[/url]
For example, your database is at forbidden.example.com
Code: Select all
<?php
mysql_connect('forbidden.example.com', 'username', 'password') or die(mysql_error());
?>
<?php
mysql_connect('forbidden.example.com', 'username', 'password') or die(mysql_error());
?>