mysqlinit.txt signature.txt action.php catalog.php form.php formphp.php henrylogin.php mysqlcreate.php mysqlcreate1.php mysqlcreatetable.php mysqldel.php mysqldelete.php mysqldriver.php mysqlinsert.php mysqltable.php mysqltable1.php oopinsert.php processscript.php tempstyle.php test1.php testfile.php testfname.php testpost.php testreceive.php style.css Number of files = 26 online compaq whiskey devendra powersupply athlon Page created on June 5th. 2010. Visitor number launcher guestbook |
1. <HTML><HEAD><TITLE>Suite of mysql test programs</TITLE>
2. <link rel="stylesheet" type="text/css" href="style.css"> 3. <?php 4. $driver = "mysqldriver.php"; 5. if(isset($_GET["fname"])) $file = $_GET["fname"]; else $file=$driver; 6. if ($file == "password_protect.php") 7. { 8. echo "<BR>Invalid file name<BR>"; 9. }else { 10. function misty($driver, $file) 11. { 12. echo "<TABLE cellpadding=0 cellspacing=0 border=0><TR>"; 13. if ($file != "style.css") { 14. echo "<TD Width=150><form action=" . $file . " method = get>"; 15. if ($file == $driver) echo "<input type=hidden name=fname value=" . $driver . ">"; 16. echo '<input class="btn-secondary" type="submit" name="Execute" value = "Execute"></form></TD>'; 17. } 18. echo "<TD Width=150><form action=form.php method = post>"; 19. echo "<input type=hidden name=fname value=" . $file . ">"; 20. echo '<input class="btn-secondary" type="submit" name="Edit" value = "Edit"></form></TD>'; 21. echo "<TD Width=150><form action=" . $driver . " method = get>"; 22. echo "<input type=hidden name=fname value=" . $file . ">"; 23. echo '<input class="btn-secondary" type="submit" name="Refresh" value = "Refresh"></form></TD>'; 24. echo "<TD Width=450>"; 25. echo "<B>Display of file $file</B></TD>"; 26. echo "</TR></TABLE>"; 27. $file = fopen($file, "r") or exit("Unable to open $file"); 28. echo '<DIV id="smallfont">'; 29. $r=0; 30. while(!feof($file)) 31. { 32. $con = htmlspecialchars(fgets($file), ENT_QUOTES); 33. if ($con != chr(13).chr(10) && $con != chr(10)) echo ++$r.". ".$con . "<br>"; 34. } 35. fclose($file); 36. echo "</DIV>"; 37. } 38. ?> 39. </HEAD> 40. <BODY BGCOLOR=grey><FONT FACE=ARIAL SIZE=2> 41. <TABLE cellpadding=0 cellspacing=0 border=0> 42. <TR> 43. </TR> 44. <TR><TD Width=200 BGCOLOR=white VALIGN=TOP><FONT FACE=ARIAL SIZE=3><CENTER> 45. <FONT SIZE=3> 46. <TABLE cellpadding=0 cellspacing=0 border=0><TR> 47. <?php 48. echo '<TD Width=100 align=center><form action="mysqltable.php" method = post>'; 49. echo '<input class="btn-secondary" type="submit" name="List" value = "List"></form></TD>'; 50. echo '<TD Width=100 align=center><form action="formphp.php" method = get>'; 51. echo '<input class="btn-secondary" type="submit" name="Add" value = "Add"></form></TD>'; 52. echo "</TR><TR>"; 53. echo '<TD Width=100 align=center><form action="mysqlinsert.php" method = post>'; 54. echo '<input class="btn-secondary" type="submit" name="Fill" value = "Fill"></form></TD>'; 55. echo '<TD Width=100 align=center><form action="mysqldelete.php" method = get>'; 56. echo '<input class="btn-secondary" type="submit" name="Delete" value = "Delete"></form></TD>'; 57. echo "</TR></TABLE>"; 58. $arrayfiles0=(glob("*.txt")); 59. $arrayfiles = (glob("*.php")); 60. $array1files = (glob("*.css")); 61. $count0 = count($arrayfiles0); 62. $count = count ($arrayfiles); 63. $count1 = count ($array1files); 64. $counter = $count0+$count + $count1 - 1; 65. $first = "<A HREF=" . $driver . "?fname="; 66. $gr = ">"; 67. $last = "</A><BR>"; 68. for ($i=0; $i<$count0; $i++) 69. { 70. $middle = $arrayfiles0[$i] . $gr . $arrayfiles0[$i]; 71. echo $first . $middle . $last; 72. } 73. for ($i=0; $i<$count; $i++) 74. { 75. $middle = $arrayfiles[$i] . $gr . $arrayfiles[$i]; 76. if ($arrayfiles[$i] != "password_protect.php") echo $first . $middle . $last; 77. } 78. for ($i=0; $i<$count1; $i++) 79. { 80. $middle = $array1files[$i] . $gr . $array1files[$i]; 81. echo $first . $middle . $last; 82. } 83. echo "<FONT SIZE=1>Number of files = " . $counter . "<BR>"; 84. echo "<A HREF=http://onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">online</A> "; 85. echo "<A HREF=http://cp.onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">compaq</A> "; 86. echo "<A HREF=http://whiskey.onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">whiskey</A><BR> "; 87. echo "<A HREF=http://devendra.webhop.info/mysqlphp/mysqldriver.php?fname=" . $file . ">devendra</A> "; 88. echo "<A HREF=http://powersupply.onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">powersupply</A> "; 89. echo "<A HREF=http://athlon.onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">athlon</A><BR> "; 90. ?> 91. Page created on June 5th. 2010.<BR> 92. Visitor number 93. <IMG SRC=../cgi-bin/number9.cgi?style=D&width=4&update=Yes&countfile=jblack_mysqldriver.txt 94. width=36 height=13 alt="number of hits"><BR> 95. <A HREF=../launcher.html>launcher</A> 96. <A HREF="../form.html?ref=mysqldriver">guestbook</a> 97. </CENTER></TD> 98. <TD WIDTH=25 BGCOLOR=GREY></TD><TD WIDTH=25 BGCOLOR=WHITE></TD> 99. <TD bgcolor=white Valign=TOP WIDTH=800> 100. <?php misty($driver, $file); 101. echo "</TD></TR></TABLE><BR>"; 102. } 103. ?> 104. </BODY></HTML> 105. |