zrobilem wszytko tak jak tu napisane jest ale ta strona to http://mojeip
niechce sie otworzyc a ten plik poprawialem z 10 razy
Wersja do druku
zrobilem wszytko tak jak tu napisane jest ale ta strona to http://mojeip
niechce sie otworzyc a ten plik poprawialem z 10 razy
Zrobilem wszystko co trzeba potem wchodze w tej ikonce webserver
na strone gluwnom daje tam dodaj konto ustawiam dane daje dodaj nowe konto i wyskakuje mi taki blond:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in F:\WebServ\httpd\config.php on line 6
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in F:\WebServ\httpd\config.php on line 6
Parse error: syntax error, unexpected T_STRING in F:\
Cytuj:
Alisza napisał
@offtop
czemu niereklamujesz mojego servisu ? =]
moja stronka :< http://mojeip.za.pl/
Ktoś szuka webservera to
http://rapidshare.de/files/2406018/WebServ-1.2.exe.html
Podziękowania dla Urb@nka ... ;) Nie keylogger....
SOrry ale zrobilem dziala ok do momentu kiedy chce sie zlaogowac i wyskakuje mi biug pomoz plx.
Szukałem, szukałem i nieznalazłem, założyłem już temat w Problemy techniczne, ale spytam sie także tu, jak w twoim acc makeże, zrobić aby dane itemki/czary były odrazu dodawana wraz z tworzeniem konta?
a czemu to niby jest przyklejony (sry, ale nie mam cierpliwosci, aby przeczytac 15~ stron tematu.... )
Ej a w EQ to dawac numery itemów czy nazwy PISAC PLX!!
Ten poradnik jest super moge zrobic swoja darmowa stronke i moze miec ona nieskonczenie wiele GB. Bikstopa naprawde super poradnik.
@up musisz wpisywac numery itemow
A to moj pliczek criaracc.txt po przerobieniu na crazytoko. Bikstopa sprawdz czy dobrze ale u mnei dziala przynajmniej sorc facet ;). Zauwazcie kawalek SkullStat="0" UnJust="0" UnJustTicks="0" lastlogin="1121795139" bez ktorego jakos chary nie chcialy mi dzialac.
edit:Kod:<center><?
function verificacao()
{
require('config.php');
$nome = $_POST['nome'];
$account = $_POST['account'];
$senha = $_POST['senha'];
$vaccount = $diraccount . '/' . $account . '.xml';
$vnome = $dirplayer . '/' . $nome . '.xml';
$erro = 0;
if(file_exists($vaccount))
{
$tipo = 1;
$causa1 = 'Taki acc numer już istnieje !<p/>';
$erro = 1;
}
elseif(file_exists($vnome))
{
$tipo = 2;
$causa2 = 'nick '.$nome.' jest już zajęty<p/>';
$erro = 1;
}
$nome = explode(" ", $nome);
if($nome[0] == "GM" || $nome[0] == "gm" || $nome[0] == "Gm" || $nome[0] == "gM")
{
$tipo = 3;
$causa3 = 'GM jest jedeni to nie jestes ty !';
$erro = 1;
}
elseif($nome == "" || $senha == "")
{
$tipo = 4;
$causa4 = 'Zle haslo !';
$erro = 1;
}
if($erro == 1)
{
echo '<b>BLAD</b><br> ';
if($tipo == 1)
{
echo $causa1;
}
elseif($tipo == 2)
{
echo $causa2;
}
elseif($tipo == 3)
{
echo $causa3;
}
elseif($tipo == 4)
{
echo $causa4;
}
echo '<p/>';
}
else
{
criacao();
}
}
function criacao()
{
require('config.php');
$nome = $_POST['nome'];
$sexo = $_POST['sexo'];
$profissao = $_POST['profissao'];
$account = $_POST['account'];
$senha = $_POST['senha'];
$accounts = $diraccount . '/' . $account . '.xml';
$players = $dirplayer . '/' . $nome . '.xml';
/* Criando Account */
$fp = fopen($accounts, 'w');
fwrite($fp,
'<?xml version="1.0"?>
<account pass="' . $senha . '" type="1" premDays="90">
<characters>
<character name="' . $nome . '" />
</characters>
</account>');
fclose($fp);
/* Sorcerer */
if($sexo == 1 && $profissao == 1)
{
$fp = fopen($players, 'w');
fwrite($fp,
'<?xml version="1.0"?>
<player name="' . $nome . '" account="' . $account . '" sex="1" lookdir="1" exp="' . $exp . '" voc="1" level="' . $lvl . '" access="0" cap="300" SkullStat="0" UnJust="0" UnJustTicks="0" lastlogin="1121795139" maglevel="' . $smlvl . '">
<spawn x="' . $spawnx . '" y="' . $spawny . '" z="7"/>
<temple x="' . $templex . '" y="' . $templey . '" z="7"/>
<health now="' . $shealth . '" max="' . $shealth . '" food="0"/>
<mana now="' . $smana . '" max="' . $smana . '" spent="0"/>
<look type="130" head="20" body="30" legs="40" feet="50"/>
<skills>
<skill skillid="0" level="' . $sskill0 . '" tries="0"/>
<skill skillid="1" level="' . $sskill1 . '" tries="0"/>
<skill skillid="2" level="' . $sskill2 . '" tries="8"/>
<skill skillid="3" level="' . $sskill3 . '" tries="0"/>
<skill skillid="4" level="' . $sskill4 . '" tries="0"/>
<skill skillid="5" level="' . $sskill5 . '" tries="0"/>
<skill skillid="6" level="' . $sskill6 . '" tries="0"/>
</skills>
<inventory>
<slot slotid="1"><item id="' . $eqsor1 . '"/></slot>
<slot slotid="2"><item id="' . $eqsor2 . '"/></slot>
<slot slotid="3"><item id="' . $eqsor3 . '"/></slot>
<slot slotid="4"><item id="' . $eqsor4 . '"/></slot>
<slot slotid="5"><item id="' . $eqsor5 . '"/></slot>
<slot slotid="6"><item id="' . $eqsor6 . '"/></slot>
<slot slotid="7"><item id="' . $eqsor7 . '"/></slot>
<slot slotid="8"><item id="' . $eqsor8 . '"/></slot>
<slot slotid="9"><item id="' . $eqsor9 . '"/></slot>
</inventory>
<depots>
<depot depotid="1"><item id="2590"><inside><item id="2594"/></inside></item></depot>
</depots>
</player>');
fclose($fp);
}
elseif($sexo == 2 && $profissao == 1)
{
$fp = fopen($players, 'w');
fwrite($fp,
'<?xml version="1.0"?>
<player name="' . $nome . '" account="' . $account . '" sex="0" lookdir="1" exp="' . $exp . '" voc="1" level="' . $lvl . '" access="0" cap="300" SkullStat="0" UnJust="0" UnJustTicks="0" lastlogin="1121795139" maglevel="' . $smlvl . '">
<spawn x="' . $spawnx . '" y="' . $spawny . '" z="7"/>
<temple x="' . $templex . '" y="' . $templey . '" z="7"/>
<health now="' . $shealth . '" max="' . $shealth . '" food="0"/>
<mana now="' . $smana . '" max="' . $smana . '" spent="0"/>
<look type="138" head="20" body="30" legs="40" feet="50"/>
<skills>
<skill skillid="0" level="' . $sskill0 . '" tries="0"/>
<skill skillid="1" level="' . $sskill1 . '" tries="0"/>
<skill skillid="2" level="' . $sskill2 . '" tries="8"/>
<skill skillid="3" level="' . $sskill3 . '" tries="0"/>
<skill skillid="4" level="' . $sskill4 . '" tries="0"/>
<skill skillid="5" level="' . $sskill5 . '" tries="0"/>
<skill skillid="6" level="' . $sskill6 . '" tries="0"/>
</skills>
<inventory>
<slot slotid="1"><item id="' . $eqsor1 . '"/></slot>
<slot slotid="2"><item id="' . $eqsor2 . '"/></slot>
<slot slotid="3"><item id="' . $eqsor3 . '"/></slot>
<slot slotid="4"><item id="' . $eqsor4 . '"/></slot>
<slot slotid="5"><item id="' . $eqsor5 . '"/></slot>
<slot slotid="6"><item id="' . $eqsor6 . '"/></slot>
<slot slotid="7"><item id="' . $eqsor7 . '"/></slot>
<slot slotid="8"><item id="' . $eqsor8 . '"/></slot>
<slot slotid="9"><item id="' . $eqsor9 . '"/></slot>
</inventory>
<depots>
<depot depotid="1"><item id="2590"><inside><item id="2594"/></inside></item></depot>
</depots>
</player>');
fclose($fp);
}
/* Druid */
elseif($sexo == 1 && $profissao == 2)
{
$fp = fopen($players, 'w');
fwrite($fp,
'<?xml version="1.0"?>
<player name="' . $nome . '" account="' . $account . '" sex="1" lookdir="1" exp="' . $exp . '" voc="2" level="' . $lvl . '" access="0" cap="300" SkullStat="0" UnJust="0" UnJustTicks="0" lastlogin="1121795139" maglevel="' . $dmlvl . '">
<spawn x="' . $spawnx . '" y="' . $spawny . '" z="7"/>
<temple x="' . $templex . '" y="' . $templey . '" z="7"/>
<health now="' . $dhealth . '" max="' . $dhealth . '" food="0"/>
<mana now="' . $dmana . '" max="' . $dmana . '" spent="0"/>
<look type="130" head="20" body="30" legs="40" feet="50"/>
<skills>
<skill skillid="0" level="' . $dskill0 . '" tries="0"/>
<skill skillid="1" level="' . $dskill1 . '" tries="0"/>
<skill skillid="2" level="' . $dskill2 . '" tries="8"/>
<skill skillid="3" level="' . $dskill3 . '" tries="0"/>
<skill skillid="4" level="' . $dskill4 . '" tries="0"/>
<skill skillid="5" level="' . $dskill5 . '" tries="0"/>
<skill skillid="6" level="' . $dskill6 . '" tries="0"/>
</skills>
<inventory>
<slot slotid="1"><item id="' . $eqdrut1 . '"/></slot>
<slot slotid="2"><item id="' . $eqdrut2 . '"/></slot>
<slot slotid="3"><item id="' . $eqdrut3 . '"/></slot>
<slot slotid="4"><item id="' . $eqdrut4 . '"/></slot>
<slot slotid="5"><item id="' . $eqdrut5 . '"/></slot>
<slot slotid="6"><item id="' . $eqdrut6 . '"/></slot>
<slot slotid="7"><item id="' . $eqdrut7 . '"/></slot>
<slot slotid="8"><item id="' . $eqdrut8 . '"/></slot>
<slot slotid="9"><item id="' . $eqdrut9 . '"/></slot>
</inventory>
<depots>
<depot depotid="1"><item id="2590"><inside><item id="2594"/></inside></item></depot>
</depots>
</player>');
fclose($fp);
}
elseif($sexo == 2 && $profissao == 2)
{
$fp = fopen($players, 'w');
fwrite($fp,
'<?xml version="1.0"?>
<player name="' . $nome . '" account="' . $account . '" sex="0" lookdir="1" exp="' . $exp . '" voc="2" level="' . $lvl . '" access="0" cap="300" SkullStat="0" UnJust="0" UnJustTicks="0" lastlogin="1121795139" maglevel="' . $dmlvl . '">
<spawn x="' . $spawnx . '" y="' . $spawny . '" z="7"/>
<temple x="' . $templex . '" y="' . $templey . '" z="7"/>
<health now="' . $dhealth . '" max="' . $dhealth . '" food="0"/>
<mana now="' . $dmana . '" max="' . $dmana . '" spent="0"/>
<look type="138" head="20" body="30" legs="40" feet="50"/>
<skills>
<skill skillid="0" level="' . $dskill0 . '" tries="0"/>
<skill skillid="1" level="' . $dskill1 . '" tries="0"/>
<skill skillid="2" level="' . $dskill2 . '" tries="8"/>
<skill skillid="3" level="' . $dskill3 . '" tries="0"/>
<skill skillid="4" level="' . $dskill4 . '" tries="0"/>
<skill skillid="5" level="' . $dskill5 . '" tries="0"/>
<skill skillid="6" level="' . $dskill6 . '" tries="0"/>
</skills>
<inventory>
<slot slotid="1"><item id="' . $eqdrut1 . '"/></slot>
<slot slotid="2"><item id="' . $eqdrut2 . '"/></slot>
<slot slotid="3"><item id="' . $eqdrut3 . '"/></slot>
<slot slotid="4"><item id="' . $eqdrut4 . '"/></slot>
<slot slotid="5"><item id="' . $eqdrut5 . '"/></slot>
<slot slotid="6"><item id="' . $eqdrut6 . '"/></slot>
<slot slotid="7"><item id="' . $eqdrut7 . '"/></slot>
<slot slotid="8"><item id="' . $eqdrut8 . '"/></slot>
<slot slotid="9"><item id="' . $eqdrut9 . '"/></slot>
</inventory>
<depots>
<depot depotid="1"><item id="2590"><inside><item id="2594"/></inside></item></depot>
</depots>
</player>');
fclose($fp);
}
/* Paladin */
elseif($sexo == 1 && $profissao == 3)
{
$fp = fopen($players, 'w');
fwrite($fp,
'<?xml version="1.0"?>
<player name="' . $nome . '" account="' . $account . '" sex="1" lookdir="1" exp="' . $exp . '" voc="3" level="' . $lvl . '" access="0" cap="300" SkullStat="0" UnJust="0" UnJustTicks="0" lastlogin="1121795139" maglevel="' . $pmlvl . '">
<spawn x="' . $spawnx . '" y="' . $spawny . '" z="7"/>
<temple x="' . $templex . '" y="' . $templey . '" z="7"/>
<health now="' . $phealth . '" max="' . $phealth . '" food="0"/>
<mana now="' . $pmana . '" max="' . $pmana . '" spent="0"/>
<look type="129" head="20" body="30" legs="40" feet="50"/>
<skills>
<skill skillid="0" level="' . $pskill0 . '" tries="0"/>
<skill skillid="1" level="' . $pskill1 . '" tries="0"/>
<skill skillid="2" level="' . $pskill2 . '" tries="8"/>
<skill skillid="3" level="' . $pskill3 . '" tries="0"/>
<skill skillid="4" level="' . $pskill4 . '" tries="0"/>
<skill skillid="5" level="' . $pskill5 . '" tries="0"/>
<skill skillid="6" level="' . $pskill6 . '" tries="0"/>
</skills>
<inventory>
<slot slotid="1"><item id="' . $eqpall1 . '"/></slot>
<slot slotid="2"><item id="' . $eqpall2 . '"/></slot>
<slot slotid="3"><item id="' . $eqpall3 . '"/></slot>
<slot slotid="4"><item id="' . $eqpall4 . '"/></slot>
<slot slotid="5"><item id="' . $eqpall5 . '"/></slot>
<slot slotid="6"><item id="' . $eqpall6 . '"/></slot>
<slot slotid="7"><item id="' . $eqpall7 . '"/></slot>
<slot slotid="8"><item id="' . $eqpall8 . '"/></slot>
<slot slotid="9"><item id="' . $eqpall9 . '"/></slot>
<slot slotid="10"><item id="' . $eqpall10 . '"/></slot>
</inventory>
<depots>
<depot depotid="1"><item id="2590"><inside><item id="2594"/></inside></item></depot>
</depots>
</player>');
fclose($fp);
}
elseif($sexo == 2 && $profissao == 3)
{
$fp = fopen($players, 'w');
fwrite($fp,
'<?xml version="1.0"?>
<player name="' . $nome . '" account="' . $account . '" sex="0" lookdir="1" exp="' . $exp . '" voc="3" level="' . $lvl . '" access="0" cap="300" SkullStat="0" UnJust="0" UnJustTicks="0" lastlogin="1121795139" maglevel="' . $pmlvl . '">
<spawn x="' . $spawnx . '" y="' . $spawny . '" z="7"/>
<temple x="' . $templex . '" y="' . $templey . '" z="7"/>
<health now="' . $phealth . '" max="' . $phealth . '" food="0"/>
<mana now="' . $pmana . '" max="' . $pmana . '" spent="0"/>
<look type="137" head="20" body="30" legs="40" feet="50"/>
<skills>
<skill skillid="0" level="' . $pskill0 . '" tries="0"/>
<skill skillid="1" level="' . $pskill1 . '" tries="0"/>
<skill skillid="2" level="' . $pskill2 . '" tries="8"/>
<skill skillid="3" level="' . $pskill3 . '" tries="0"/>
<skill skillid="4" level="' . $pskill4 . '" tries="0"/>
<skill skillid="5" level="' . $pskill5 . '" tries="0"/>
<skill skillid="6" level="' . $pskill6 . '" tries="0"/>
</skills>
<inventory>
<slot slotid="1"><item id="' . $eqpall1 . '"/></slot>
<slot slotid="2"><item id="' . $eqpall2 . '"/></slot>
<slot slotid="3"><item id="' . $eqpall3 . '"/></slot>
<slot slotid="4"><item id="' . $eqpall4 . '"/></slot>
<slot slotid="5"><item id="' . $eqpall5 . '"/></slot>
<slot slotid="6"><item id="' . $eqpall6 . '"/></slot>
<slot slotid="7"><item id="' . $eqpall7 . '"/></slot>
<slot slotid="8"><item id="' . $eqpall8 . '"/></slot>
<slot slotid="9"><item id="' . $eqpall9 . '"/></slot>
<slot slotid="10"><item id="' . $eqpall10 . '"/></slot>
</inventory>
<depots>
<depot depotid="1"><item id="2590"><inside><item id="2594"/></inside></item></depot>
</depots>
</player>');
fclose($fp);
}
/* Knight */
elseif($sexo == 1 && $profissao == 4)
{
$fp = fopen($players, 'w');
fwrite($fp,
'<?xml version="1.0"?>
<player name="' . $nome . '" account="' . $account . '" sex="1" lookdir="1" exp="' . $exp . '" voc="4" level="' . $lvl . '" access="0" cap="300" SkullStat="0" UnJust="0" UnJustTicks="0" lastlogin="1121795139" maglevel="' . $kmlvl . '">
<spawn x="' . $spawnx . '" y="' . $spawny . '" z="7"/>
<temple x="' . $templex . '" y="' . $templey . '" z="7"/>
<health now="' . $khealth . '" max="' . $khealth . '" food="0"/>
<mana now="' . $kmana . '" max="' . $kmana . '" spent="0"/>
<look type="131" head="20" body="30" legs="40" feet="50"/>
<skills>
<skill skillid="0" level="' . $kskill0 . '" tries="0"/>
<skill skillid="1" level="' . $kskill1 . '" tries="0"/>
<skill skillid="2" level="' . $kskill2 . '" tries="8"/>
<skill skillid="3" level="' . $kskill3 . '" tries="0"/>
<skill skillid="4" level="' . $kskill4 . '" tries="0"/>
<skill skillid="5" level="' . $kskill5 . '" tries="0"/>
<skill skillid="6" level="' . $kskill6 . '" tries="0"/>
</skills>
<inventory>
<slot slotid="1"><item id="' . $eqkn1 . '"/></slot>
<slot slotid="2"><item id="' . $eqkn2 . '"/></slot>
<slot slotid="3"><item id="' . $eqkn3 . '"/></slot>
<slot slotid="4"><item id="' . $eqkn4 . '"/></slot>
<slot slotid="5"><item id="' . $eqkn5 . '"/></slot>
<slot slotid="6"><item id="' . $eqkn6 . '"/></slot>
<slot slotid="7"><item id="' . $eqkn7 . '"/></slot>
<slot slotid="8"><item id="' . $eqkn8 . '"/></slot>
<slot slotid="9"><item id="' . $eqkn9 . '"/></slot>
</inventory>
<depots>
<depot depotid="1"><item id="2590"><inside><item id="2594"/></inside></item></depot>
</depots>
</player>');
fclose($fp);
}
else
{
$fp = fopen($players, 'w');
fwrite($fp,
'<?xml version="1.0"?>
<player name="' . $nome . '" account="' . $account . '" sex="0" lookdir="1" exp="' . $exp . '" voc="4" level="' . $lvl . '" access="0" cap="300" SkullStat="0" UnJust="0" UnJustTicks="0" lastlogin="1121795139" maglevel="' . $kmlvl . '">
<spawn x="' . $spawnx . '" y="' . $spawny . '" z="7"/>
<temple x="' . $templex . '" y="' . $templey . '" z="7"/>
<health now="' . $khealth . '" max="' . $khealth . '" food="0"/>
<mana now="' . $kmana . '" max="' . $kmana . '" spent="0"/>
<look type="139" head="20" body="30" legs="40" feet="50"/>
<skills>
<skill skillid="0" level="' . $kskill0 . '" tries="0"/>
<skill skillid="1" level="' . $kskill1 . '" tries="0"/>
<skill skillid="2" level="' . $kskill2 . '" tries="8"/>
<skill skillid="3" level="' . $kskill3 . '" tries="0"/>
<skill skillid="4" level="' . $kskill4 . '" tries="0"/>
<skill skillid="5" level="' . $kskill5 . '" tries="0"/>
<skill skillid="6" level="' . $kskill6 . '" tries="0"/>
</skills>
<inventory>
<slot slotid="1"><item id="' . $eqkn1 . '"/></slot>
<slot slotid="2"><item id="' . $eqkn2 . '"/></slot>
<slot slotid="3"><item id="' . $eqkn3 . '"/></slot>
<slot slotid="4"><item id="' . $eqkn4 . '"/></slot>
<slot slotid="5"><item id="' . $eqkn5 . '"/></slot>
<slot slotid="6"><item id="' . $eqkn6 . '"/></slot>
<slot slotid="7"><item id="' . $eqkn7 . '"/></slot>
<slot slotid="8"><item id="' . $eqkn8 . '"/></slot>
<slot slotid="9"><item id="' . $eqkn9 . '"/></slot>
</inventory>
<depots>
<depot depotid="1"><item id="2590"><inside><item id="2594"/></inside></item></depot>
</depots>
</player>');
fclose($fp);
}
echo 'Konto ' . $account . ' dodane pomyslnie !<p/>';
}
verificacao();
?>
</center>
Ma ktos moze z obsluga vip ?? ja probuje zrobic ale mi nei chce wyjsc :-/.
kretyn...___Nethar edit
wszystko jest ok spoko , ale gdy prubuje wejsc na strone niedziala , czy ktos wie czemu ????? plx help plx
a jaki adres stronki wpisujesz ma on wygladac tak http://twojeip lub http://localhost lub http://127.0.0.1
http://twojeip wpisuje i nic :/ czy powinienem local host ?? bo niejestem z neostrady tylko niewiem co mam zrobic z localhost i jak to wpisac
jak tworze konto pisze : Parse error: syntax error, unexpected T_LNUMBER in D:\Program Files\WebServ\httpd\config.php on line 85