Jump to content
GIGN Forum

Cs Web Unban


JAKuT
 Share

Recommended Posts

Es gribetu zinat, ka lai uztaisa.. ka rindina kur rakstit IP, vai bana ID, vai arii niks: rakstas, uzreiz taa cilveki ip!

Piem tu ieej uz majas lapu http://domain.lv/unban.php

un tev uzreiz paradas

IP, vai bana ID, vai arī niks: tava ip!

nevajag pasam meklet, rakstit!

<center><form name="LOGIN" action="unban.php" method="post">

<center><a href='http://s1.oo.lv/'>Sakums</a></center>
 
<center><b> Sūti īsziņu ""PAY UNBAN" uz nummuru "1897" un gaidi kad atnāks kods. P.S SMS cena 2.50 Ls</b></center>
 
<table class="table" border="0">
<tr><td align="left">IP, vai bana ID, vai arī niks: </td> <td><input size="40" style="width:124px" maxlength="64" name="banidirip" type="text" value="" /></td></tr>
<tr><td align="left">Kods (kuru saņēmāt caur sms): </td> <td><input size="40" style="width:124px" maxlength="64" type="txt" name="code" value="" /></td></tr>
<tr>
<td><input type="submit" name="submit1" value="Atbanot" /></td>

Link to comment
Share on other sites

es domaju, talak nevajadzes.. :)

</tr>
</table>
<?php
$nikreg = $_GET['nikreg'];
$kodinsh = $_POST['code'];
$kods = 23;
$playername = $_POST['banidirip'];
$nick = $_POST['banidirip'];
$access = "z";
$flags = "a";
$nickname = "regnick";
$ip = $_SERVER['REMOTE_ADDR'];

bet, nezinu kur tas jaaieraksta...

es zinu, ka sitais.. rada ip! bet kaa ielikt.. lai vins radas taja vieta kur gribu

<?php

echo $_SERVER["REMOTE_ADDR"];

?>

Link to comment
Share on other sites

<center><form name="LOGIN" action="unban.php" method="post">
<center><a href='http://s1.oo.lv/'>Sakums</a></center>
 
<center><b> Sūti īsziņu ""PAY UNBAN" uz nummuru "1897" un gaidi kad atnāks kods. P.S SMS cena 2.50 Ls</b></center>
 
<table class="table" border="0">
<tr><td align="left">IP, vai bana ID, vai arī niks: </td> <td><input size="40" style="width:124px" maxlength="64" name="banidirip" type="text" value="<?=$_SERVER["REMOTE_ADDR"]?>" /></td></tr>
<tr><td align="left">Kods (kuru saņēmāt caur sms): </td> <td><input size="40" style="width:124px" maxlength="64" type="txt" name="code" value="" /></td></tr>
<tr>
<td><input type="submit" name="submit1" value="Atbanot" /></td>

P.S wap ja tev nav sajēgas par šādām lietām vnk pastāvi klusu!

Edited by duplets
Link to comment
Share on other sites

Kāda ziņā? Vaitad nerukā?

Link to comment
Share on other sites

<center><form name="LOGIN" action="unban.php" method="post">
<center><a href='http://s1.oo.lv/'>Sakums</a></center>
 
<center><b> Suti iszinu ""PAY UNBAN" uz nummuru "1897" un gaidi kad atnaks kods. P.S SMS cena 2.50 Ls</b></center>
 
<table class="table" border="0">
<tr><td align="left">IP, vai bana ID, vai ari niks: </td> <td><input size="40" style="width:124px" maxlength="64" name="banidirip" type="text" value="<?php echo $_SERVER["REMOTE_ADDR"]; ?>" /></td></tr>
<tr><td align="left">Kods (kuru sanemat caur sms): </td> <td><input size="40" style="width:124px" maxlength="64" type="txt" name="code" value="" /></td></tr>
<tr>
<td><input type="submit" name="submit1" value="Atbanot" /></td>

Link to comment
Share on other sites

Ko?

Kā var nejiet? Visam būtu jājiet pirmajā varianta varēja nejiet, ja pilnie tagi ir enabloti, bet otrajā visam jājiet, ja nu vienīgi tas viss ir iekš echo...

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...