20.07.2015, 14:31
Change $hostbaza to "localhost" or "127.0.0.1"
Then change $numebaza to the name of your local database, and $userbaza to your local username (mostly root), and your $parolabaza to the password for your localhost (mostly nothing, so remove parola and keep blank if that's the case).
Also, if the IP, username and password are really existing and are accessible, I suggest you quickly remove those things from the post because people might use that to do bad things.
EDIT: should look like this probably:
Then change $numebaza to the name of your local database, and $userbaza to your local username (mostly root), and your $parolabaza to the password for your localhost (mostly nothing, so remove parola and keep blank if that's the case).
Also, if the IP, username and password are really existing and are accessible, I suggest you quickly remove those things from the post because people might use that to do bad things.
EDIT: should look like this probably:
PHP код:
<?php
## Baza de date
$userbaza = "root";
$parolabaza = "";
$numebaza = "databasename"; //Change this to your database name
$hostbaza = "127.0.0.1";
## Baza de date
## General
$adresa = "http://panel.sa-zone.com";
$titlu_site = "sa-zone.com";
date_default_timezone_set('Europe/Bucharest');
$data_ora = date('Y-m-d H:i:s');
$serverIP = "samp.sa-zone.com";
$serverPort = 7777;
error_reporting(0);
## General
## Variabile
$username = htmlspecialchars($_COOKIE['user']);
$password = htmlspecialchars($_COOKIE['pass']);
## Variabile
?>