Jump to content
GIGN Forum

Redzami Admini Caur Amxbans (pamācība)


Recommended Posts

Tad nu es kaut kur atradu labu paamcibu un bishki pielaboju

Shi pamaciba ir lai cilveki varetu redzet kadi admini ir pievienoti amxbans

1)Ieej sava www folderi

2)uztaisi txt dokumenta failu un parsauc to par admins.php

3)Atver to caur notepad

4)ierakti tur shadus datus

 <?php
############################
# PrO                 #
# script by TeA^M(50cent)||ADMIN|| visit #
# http://sucker.oo.lv     #
#                          #
############################
// Ievadam datus, lai varam sakonekteeties pie mysql DB
mysql_connect("localhost", "root", "TAVA PAROLE") or die(mysql_error());
mysql_select_db("amxbans") or die(mysql_error());

// Panjemam visus datus no noteiktaas tabulas shajaa gadijumaa amx_amxadmins
$result = mysql_query("SELECT * FROM amx_amxadmins") 
or die(mysql_error());  

echo "<table border='1'>";
echo "<tr> <th>Admins</th> <th>IP</th> <th>Pieejamie flagi</th> </tr>";
while($row = mysql_fetch_array( $result )) {
// Izvadam datus aaraa no tabulas
   echo "<tr><td>"; 
   echo $row['nickname'];
   echo "</td><td>"; 
   echo $row['username'];
   echo "</td><td>"; 
   echo $row['access'];
   echo "</td></tr>"; 
} 
echo "</table>";
?>= ';

5)pielabo ieraktot savu paroli

6)saglaba un parbaudi vai viss iet ieejot http://localhost/admins

Tas ari viss ludzu netaisiet dumjus postus

index.gif

Edited by tipa elvis
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...