[SA:MP UCP help]
#5

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.


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;  
    } 
?>
Reply


Messages In This Thread
[SA:MP UCP help] - by Zeus666 - 25.07.2016, 11:35
Re: [SA:MP UCP help] - by Parallex - 25.07.2016, 13:36
Re: [SA:MP UCP help] - by Zeus666 - 25.07.2016, 13:45
Re: [SA:MP UCP help] - by GangstaSunny - 25.07.2016, 14:00
Re: [SA:MP UCP help] - by Zeus666 - 25.07.2016, 16:26
Re: [SA:MP UCP help] - by Spmn - 25.07.2016, 16:50
Re: [SA:MP UCP help] - by Zeus666 - 25.07.2016, 17:49

Forum Jump:


Users browsing this thread: 2 Guest(s)