Revision: 63402
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 4, 2013 01:24 by cameronjrc
Initial Code
<body> <center> <?php /*connection data was moved to ext file '/connect/main.php'*/ mysql_connect("localhost", "gamemer1_removed", "removed") or die('Could not connect to Serv: ' . mysql_error()); mysql_select_db ('gamemer1_removed') or die('Could not connect to DB: ' . mysql_error()); $result = mysql_query("SELECT name,member_group_id,hwid FROM gamemer1_members"); if ($result == FALSE) { echo "Bad key result was returned"; } else { ?> <form action="insert.php" method="post"> Name <input type="text" name="ename" /><br> HWID <input type="text" name="ehwid" /><br> <input type="Submit" /> </form> <br><br><br> <table border="0" cellspacing="2" cellpadding="2"> <tr> <td><font face="Arial, Helvetica, sans-serif">Group ID</font></td> <td><font face="Arial, Helvetica, sans-serif">User Name</font></td> <td><font face="Arial, Helvetica, sans-serif">HWID</font></td> </tr> <?php $entry_name = $_POST['username']; $inhwid = $_POST['inhwid']; while ($row = mysql_fetch_assoc($result)) { $id = $row['member_group_id']; $name = $row['name']; $hwid = $row['hwid']; ?> <tr> <td><font face="Arial, Helvetica, sans-serif"><?php echo $id; ?></font></td> <td><font face="Arial, Helvetica, sans-serif"><?php echo $name; ?></font></td> <td><font face="Arial, Helvetica, sans-serif"><?php echo $hwid; ?></font></td> </tr> <?php } } mysql_close(); ?> </center> </body>
Initial URL
Initial Description
user modding for a forum based gaming website (file used in password protected directory)
Initial Title
GM Project 2012 (mod users)
Initial Tags
php
Initial Language
PHP