| Subiectul anterior :: Subiectul urmator |
| Autor |
Mesaj |
LinkMania Administrator

Data inscrierii: 19/Dec/2008 Mesaje: 184
|
Trimis: 20/12/2008 04:21 Titlul subiectului: [Tutorial] Cum faci o pagina Web 3 |
|
|
Luati pro de la celelalte weburi :D
Pasul 1: Dupa ce ati instalat AppServ bagati tot ce este in arhiva winrar in www din folderul cu AppServ !!!
Pasul 2: Configurati site-ul :
Citat:
\www\configs\config.php
Cod:
//Game Database Config
$user1 = "root"; //GameServer MySQL Database Login
$pass1 = "parola"; //GameServer MySQL Database Password
$data1 = "l2jdb"; //GameServer MySQL Database
$host1 = "localhost"; //GameServer MySQL Host
//Login Database Config
$user2 = "root"; //LoginServer MySQL Database Login
$pass2 = "parola"; //LoginServer MySQL Database Password
$data2 = "l2jdb"; //LoginServer MySQL Database
$host2 = "localhost"; //LoginServer MySQL Host
//Server IP and Port
$log_ip = "89.x.x.x"; //Set the IP of your Login Server
$log_port = "2106"; //Set the Port of your Login Server
$gam_ip = "89.x.x.x"; //Set the IP of your Game Server
$gam_port = "7777"; //Set the Port of your Game Server
//mail config ( for register is mail_activ 1 )
$smtphost = "smtp.yourdomain.com"; //Set the SMTP host
$smtplogin = "noreply@yourdomain.com"; //Set the SMTP Login
$smtppwd = "parola"; //Set the SMTP Login Password
$smtpmail = "noreply@yourdomain.com"; //Set the E-Mail Adress who from the e-mails
$smtpfrom = "ServerNameOrYourName"; //Set your/or the Server name insert
//General
$error_in_script = "0"; //Set to E_ALL when you search an error in script , Set 0 when its all Ok with the script
//level.php Config
$offline_color = "#FF0000"; //Color for Offline Status (NO)
$online_color = "#00FF00"; //Color for Online Status (YES)
//clan Script Config
$leader_color = "#00FF00"; //Color who have the Clan Leader
$member_color = "#000000"; //Color who have the Clan Members
//Limits
$wedding_limit = "25"; //List max xxx Weddings ( wedding.php )
$level_limit = "100"; //List max xxx in Top Level ( level.php )
$pvp_limit = "100"; //List max xxx in PvP Top ( pvp.php )
$p_on_limit = "100"; //List max xxx in Player Online ( player_online.php )
$pk_limit = "10"; //List max xxx in Player Kill Top ( pk.php )
$most_on_limit = "10"; //List max xxx in Most Online Time ( most_online.php )
$karma_limit = "10"; //List max xxx in Karma Top ( karma.php )
$jail_limit = "10"; //List max xxx in who is in Jail ( jail.php )
$clan_limit = "10"; //List max xxx in Clan List ( clan_index.php )
$rich_limit = "10"; //List max xxx in Rich Top ( rich.php )
//Register Mail Config
$days = "30"; //Delete Inactiv Accounts after x Days
$max_accounts = "1000"; //Maximum of Accounts
$servername = "MyL2Server"; //Set the Servername
$url_to_activ = "http://your-domain.com/register";//Set the URL to activ.php , without / at the end
$mail_activ = "0"; //Use 1 for use with e-mail activation, Use 0 for without e-mail activation
$self_mail = "0"; //Use 1 for activ check e-mail in db , use 0 for withot ckeck e-mail in db
$mail_limit = "0"; //How often allow the self e-mail for registartion, only works is mail_activ 1 and self_mail 1
Pasul 3: Pentru Alte editari Downloads / How to connect / etc.
Citat:
\www\donate.php
Citat:
\www\download.php
Citat:
Etc...
Poze !
[url=http://www.99poze.ro/p/4678b2c0b08f7e0b674ef3e6905da2b9.jpg] [/url] |
|
| Sus |
|
 |
|
|
Nu puteti crea un subiect nou in acest forum Nu puteti raspunde in subiectele acestui forum Nu puteti modifica mesajele proprii din acest forum Nu puteti sterge mesajele proprii din acest forum Nu puteti vota in chestionarele din acest forum
|
Powered by phpBB © 2001, 2005 phpBB Group Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro
|