One Hat Cyber Team
Your IP :
216.73.216.216
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
nosc
/
public_html
/
admin
/
inactive
/
View File Name :
manage_table.php3
<?php $table="Authors"; $orderby = "LastName,FirstName"; require("../auth.php3"); require("../header.inc"); //dl("mysql.so"); //require("../kmysql.php3"); $db_handle = mysql_connect($host, $user, $password); /* print("<input type=\"hidden\" name=\"host\" value=\"$host\">\n"); print("<input type=\"hidden\" name=\"user\" value=\"$user\">\n"); print("<input type=\"hidden\" name=\"password\" value=\"$password\">\n"); print("<input type=\"hidden\" name=\"base\" value=\"$base\">\n"); */ echo "<h1>Database \"$database\"</h1>"; echo "<div class=subtoc><center>"; echo "<h3>Contents of the table \"$table\"</h3>"; /* $res = mysql_db_query($database,"select LastName,FirstName,MiddleName,City from $table order by '$orderby'"); if(!$res) die(mysql_error()); echo "<hr><FORM action=\"manage_table_action.php3\" method=\"post\"> <P>"; while($entry = mysql_fetch_array($res)) { echo "<input name=\"val$entry[id]\" type=checkbox>"; echo " ".$entry[LastName]; echo ", "; echo $entry[FirstName]; echo "<br>"; } echo "<input type=\"submit\" value=\"Submit\">\n"; echo "</form>"; */ //------------ $res = mysql_db_query($database,"select id,LastName,FirstName,MiddleName,City from $table order by $orderby"); if(!$res) die(mysql_error()); echo "<form method=\"POST\" action=\"manage_authors_action.php3\">"; echo "<select name=\"id_selected\" size=15>\n"; while($row = mysql_fetch_array($res)) { print("<option value=\"$row[id]\">$row[LastName], $row[FirstName] $row[MiddleName] ($row[City])</option>\n"); $row = mysql_fetch_row($res); } print("<input type=\"submit\" name=todo value=\"Modify the selected entry\"><br>\n"); print("<input type=\"submit\" name=todo value=\"Add a new entry\">\n"); print("</form>"); echo "</center></div>"; mysql_close($db_handle); ?> </body> </html>