Im new to using zymichost and have uploaded my site files and mysql database. My index.html page is fine but when i go to any of the php pages that connect to the database I get this error
QUOTE
Warning: mysql_pconnect() has been disabled for security reasons in /www/zymichost.com/t/h/e/thesecretsoutnow/htdocs/Connections/the_secrets_out.php on line 9
Fatal error: in /www/zymichost.com/t/h/e/thesecretsoutnow/htdocs/Connections/the_secrets_out.php on line 9
Fatal error: in /www/zymichost.com/t/h/e/thesecretsoutnow/htdocs/Connections/the_secrets_out.php on line 9
which refers to the connection to the database "the_secrets_out.php". This is what the code looks like for the connection
CODE
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_the_secrets_out = "localhost";
$database_the_secrets_out = "************";
$username_the_secrets_out = "************";
$password_the_secrets_out = "************";
$the_secrets_out = mysql_pconnect($hostname_the_secrets_out, $username_the_secrets_out, $password_the_secrets_out) or trigger_error(mysql_error(),E_USER_ERROR);
?>
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_the_secrets_out = "localhost";
$database_the_secrets_out = "************";
$username_the_secrets_out = "************";
$password_the_secrets_out = "************";
$the_secrets_out = mysql_pconnect($hostname_the_secrets_out, $username_the_secrets_out, $password_the_secrets_out) or trigger_error(mysql_error(),E_USER_ERROR);
?>
and line 9 specificaly refers to
CODE
$the_secrets_out = mysql_pconnect($hostname_the_secrets_out, $username_the_secrets_out, $password_the_secrets_out) or trigger_error(mysql_error(),E_USER_ERROR);
Please help!!