25.07.2016, 16:26
http://vestigedayz.com/ucp/login.php
It gives me error
Warning: mysql_connect(): Connection timed out in /home/vestiged/public_html/ucp/config.php on line 3
I can't connect to the server!
Everything is good, login details.
It gives me error
Warning: mysql_connect(): Connection timed out in /home/vestiged/public_html/ucp/config.php on line 3
I can't connect to the server!
Everything is good, login details.
PHP Code:
<?php
$connect = mysql_connect("93.119.26.250", "zp_hid11784", "password ") or die("I can't connect to the server!"); //connecting to mysql, change setting if you have to
mysql_select_db("zp_hid11784") or die ("I can't find the database!"); //selecting database, change name to your database name!
function sanitize($string) //function for sanitize from xss and mysql and csrf... Thanks to XFlawless
{
$string = strip_tags($string);
$string = mysql_real_escape_string($string);
return $string;
}
?>