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