arkadaşlar cpanel mysql girdim Users: bölümüne isim şifre yazdım daha sonra
Databases: kısmında database oluşturdum aşağıdaki config.php ayarları nasıl yapmam gerekir
yardımınız için şimdiden teşekkürler..
Databases: kısmında database oluşturdum aşağıdaki config.php ayarları nasıl yapmam gerekir
yardımınız için şimdiden teşekkürler..
Kod:
<?
############################################################
# Xtreme Topsites v.1.1 #
#----------------------------------------------------------#
# Author: Nema Ghalamdanchi #
# E-mail: [email][email protected][/email] #
# Website: [url]http://www.xtremescripts.com/[/url] #
#----------------------------------------------------------#
############################################################
###################### Copyrights ########################
############################################################
# Xtreme Scripts #
#----------------------------------------------------------#
# This Script is NOT Freeware. #
# Please read the license.txt file for more info. #
############################################################
############################################################
# Required Information #
############################################################
# MySql Information #
############################################################
$hostname = "111111111111";
$username = "1111111";
$password = "111111111";
$database = "1111111111";
############################################################
# Admin Panel Information #
############################################################
$admin_user = "admin";
$admin_pass = "admin";
############################################################
# Webmaster Information #
############################################################
$webmaster_email = "[email protected]";
$webmaster_url = "http://www.mucize.net/";
############################################################
# FTP Information #
# FTP Information is optional, #
# but recommended for advanced use. #
############################################################
$ftp_add = "ftp.mucize.net"; // Ip Address or ftp address
$ftp_user = "[email protected]"; // username or [email][email protected][/email]
$ftp_password = "11111111"; // ftp username password
############################################################
# Topsite Information #
############################################################
$topsite_name = "Xtreme Topsites 1.0"; // Name of Topsite
$topsite_initials = "XT"; // Topsite Initials
// The URL to where the script is located ( without a trailing / )
$script_url = "http://www.xtremescripts.com/topsite";
// The URL to where you've stored your topsite buttons ( without trailing / )
$img_dir = "http://www.xtremescripts.com/topsite/images";
// How many buttons you have for the ranks ( 0 = all buttons the same, else EX: 50 )
$img_total = 50;
// Extension of the buttons ( .bmp / .jpg / .jpeg / .gif / .png )
$img_ext = ".gif";
// Total buttons that'll be shown on your topsite ( $img_visible = "all" = show all buttons )
$img_visible = "all";
// Sites listed per page
$pp = 25;
// Send the webmaster an email when someone joined your topsite ? ( 0 = no / 1 = yes )
$webmaster_sendmail = 0;
############################################################
# DO NOT EDIT BELOW HERE! #
############################################################
// The name of the table IN $database
$table = "xtd";
$date = date("dmY");
$numdays = 7;
// Connect to database ( Do not modify ! )
mysql_connect($hostname,$username,$password) or die(mysql_error());
mysql_select_db($database);
// Copyright ( Do NOT Edit! )
$copy = "<br><br><center>Powered by <a href=\"http://www.xtremescripts.com/\" target=\"_blank\">Xtreme Topsites v.1.1</a></center>";
?>