home  launcher  guestbook
w3schools.com
cd_catalog.xml
html.html
htmlpage.html
out.html
help.txt
mysqlinit.txt
signature.txt
action.php
action1.php
actioni.php
catalog.php
catalog.save.php
emailphp.php
emailphptest.php
emailphptext.php
form.php
form1.php
formphp.php
formphp1.php
formphpi.php
getcd.php
getenv.php
getenv1.php
henrylogin.php
mysqlcreate.php
mysqlcreate1.php
mysqlcreate2.php
mysqlcreate3.php
mysqlcreate4.php
mysqlcreatei.php
mysqlcreatetable.php
mysqldel.php
mysqldel1.php
mysqldelete.php
mysqldelete1.php
mysqldeletei.php
mysqldeli.php
mysqldriver.php
mysqldriver1.php
mysqldriveri.php
mysqldriversave.php
mysqlinsert.php
mysqlinsert1.php
mysqlinserti.php
mysqlitable.php
mysqltable.php
mysqltable1.php
mysqltablei.php
oopinsert.php
out.php
outout.php
processscript.php
processscript1.php
sakila.php
shuffle.php
shufflesave.php
tempstyle.php
test1.php
test2.php
testfile.php
testfname.php
testpost.php
testreceive.php
testx.php
testy.php
style.css
Number of files = 66
online compaq devendra athlon
kingston kingston2 kingston3 kingston4
pi pi2 pi3
Page created on February 11th 2014 and updated on November 30th. 2017.
Visitor number   number of hits
home  launcher   guestbook 
Display of file mysqldriver.php
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. $driveri = "mysqldriveri.php";
8. $filei = $driveri;
9. #$fileri = "mysqldriveri1.php";
10. if(isset($_GET["fname"])) $file = $_GET["fname"]; else $file=$driver;
11. //if(!defined($file = param('name'))) { $file = $driver }
12. //echo "\$driver = $driver \$file = $file \$filer = $filer";
13. if ($file == "password_protect.php")
14. {
15. echo "<BR>Invalid file name<BR>";
16. }else {
17. function misty($driver, $file, $filer, $driveri, $filei)
18. {
19. echo "<TABLE cellpadding=0 cellspacing=0 border=0><TR>";
20. if ($file != "style.css") {
21. echo "<TD Width=150><form action=" . $file . " method = get>";
22. if ($file == $driver) echo "<input type=hidden name=fname value=" . $driver . ">";
23. echo '<input class="btn-secondary" type="submit" name="Execute" value = "Execute"></form></TD>';
24. }
25. echo "<TD Width=150><form action=form.php method = post>";
26. echo "<input type=hidden name=fname value=" . $file . ">";
27. echo '<input class="btn-secondary" type="submit" name="Edit" value = "Edit"></form></TD>';
28. echo "<TD Width=150><form action=" . $driver . " method = get>";
29. echo "<input type=hidden name=fname value=" . $file . ">";
30. echo '<input class="btn-secondary" type="submit" name="Refresh" value = "Refresh"></form></TD>';
31. echo "<TD Width=150><form action=" . $filer . " method = get>";
32. echo "<input type=hidden name=fname value=" . $filer . ">";
33. echo '<input class="btn-secondary" type="submit" name="Switch" value = "Switch"></form></TD>';
34. echo "<TD Width=150><form action=" . $driveri . " method = get>";
35. echo "<input type=hidden name=fname value=" . $filei . ">";
36. echo '<input class="btn-secondary" type="submit" name="Switchi" value = "Switchi"></form></TD>';
37. echo "<TD Width=450>";
38. echo "<B>Display of file $file</B></TD>";
39. echo "</TR></TABLE>";
40. $file = fopen($file, "r") or exit("Unable to open $file");
41. echo '<DIV id="smallfont">';
42. $r=0;
43. while(!feof($file))
44. {
45. $con = htmlspecialchars(fgets($file), ENT_QUOTES);
46. if ($con != chr(13).chr(10) && $con != chr(10)) echo ++$r.". ". $con . "<br>";
47. }
48. fclose($file);
49. echo "</DIV>";
50. }
51. ?>
52. </HEAD>
53. <BODY BGCOLOR=grey><FONT FACE=ARIAL SIZE=2>
54. <TABLE cellpadding=0 cellspacing=0 border=0>
55. <TR>
56. </TR>
57. <TR><TD Width=200 BGCOLOR=white VALIGN=TOP><FONT FACE=ARIAL SIZE=3><CENTER>
58. <FONT SIZE=3>
59. <TABLE cellpadding=0 cellspacing=0 border=0><TR>
60. <TD Width=200 colspan=2>
61. <A HREF=/index.html>home</A>&nbsp;
62. <A HREF=/launcher.html>launcher</A>&nbsp;
63. <a href="#" onkeypress="bar" onclick="MyWindow=window.open('/formost.html?ref=mysqldriver','MyWindow','toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=yes,resizable=no,width=800,height=600'); return false;">guestbook</A>
64. <BR></TD></TR><TR>
65. <?php
66. echo '<TD Width=100 align=center><form action="mysqltable.php" method = post>';
67. echo '<input class="btn-secondary" type="submit" name="List" value = "List"></form></TD>';
68. echo '<TD Width=100 align=center><form action="formphp.php" method = get>';
69. echo '<input class="btn-secondary" type="submit" name="Add" value = "Add"></form></TD>';
70. echo "</TR><TR>";
71. echo '<TD Width=100 align=center><form action="mysqlinsert.php" method = post>';
72. echo '<input class="btn-secondary" type="submit" name="Fill" value = "Fill"></form></TD>';
73. echo '<TD Width=100 align=center><form action="mysqldelete.php" method = get>';
74. echo '<input class="btn-secondary" type="submit" name="Delete" value = "Delete"></form></TD>';
75. echo "</TR></TABLE>";
76. echo '<A HREF=http://www.w3schools.com/php/default.asp target="_blank">w3schools.com</A><BR>';
77. $arrayfiles000=(glob("*.xml"));
78. $arrayfiles00=(glob("*.html"));
79. $arrayfiles0=(glob("*.txt"));
80. $arrayfiles = (glob("*.php"));
81. $array1files = (glob("*.css"));
82. $count000 = count($arrayfiles000);
83. $count00 = count($arrayfiles00);
84. $count0 = count($arrayfiles0);
85. $count = count ($arrayfiles);
86. $count1 = count ($array1files);
87. $counter = $count000 + $count00 + $count0 + $count + $count1 - 1;
88. $first = "<A HREF=" . $driver . "?fname=";
89. $gr = ">";
90. $last = "</A><BR>";
91. for ($i=0; $i<$count000; $i++)
92. {
93. $middle = $arrayfiles000[$i] . $gr . $arrayfiles000[$i];
94. echo $first . $middle . $last;
95. }
96. for ($i=0; $i<$count00; $i++)
97. {
98. $middle = $arrayfiles00[$i] . $gr . $arrayfiles00[$i];
99. echo $first . $middle . $last;
100. }
101. for ($i=0; $i<$count0; $i++)
102. {
103. $middle = $arrayfiles0[$i] . $gr . $arrayfiles0[$i];
104. echo $first . $middle . $last;
105. }
106. for ($i=0; $i<$count; $i++)
107. {
108. $middle = $arrayfiles[$i] . $gr . $arrayfiles[$i];
109. if ($arrayfiles[$i] != "password_protect.php") echo $first . $middle . $last;
110. }
111. for ($i=0; $i<$count1; $i++)
112. {
113. $middle = $array1files[$i] . $gr . $array1files[$i];
114. echo $first . $middle . $last;
115. }
116. echo "<FONT SIZE=2>Number of files = " . $counter . "<BR>";
117. echo "<A HREF=http://onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">online</A> ";
118. echo "<A HREF=http://cp.onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">compaq</A> ";
119. echo "<A HREF=http://devendra.webhop.info/mysqlphp/mysqldriver.php?fname=" . $file . ">devendra</A> ";
120. echo "<A HREF=http://athlon.onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">athlon</A><BR> ";
121. echo "<A HREF=http://kingston.onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">kingston</A> ";
122. echo "<A HREF=http://kingston2.onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">kingston2</A> ";
123. echo "<A HREF=http://kingston3.onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">kingston3</A> ";
124. echo "<A HREF=http://kingston4.onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">kingston4</A><BR> ";
125. echo "<A HREF=http://pi.onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">pi</A> ";
126. echo "<A HREF=http://pi2.onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">pi2</A> ";
127. echo "<A HREF=http://pi3.onwardoverland.com/mysqlphp/mysqldriver.php?fname=" . $file . ">pi3</A><BR> ";
128. ?>
129. Page created on February 11th 2014 and updated on November 30th. 2017.<BR>
130. Visitor number&nbsp;&nbsp;
131. <IMG SRC = /cgi-bin/number9.cgi?style=D&width=4&update=Yes&countfile=jblack_mysqldriver.txt
132. width=36 height=13 alt="number of hits"><BR>
133. <A HREF=/index.html>home</A>&nbsp;
134. <A HREF=/launcher.html>launcher</A>&nbsp;
135. &nbsp;<a href="#" onkeypress="bar" onclick="MyWindow=window.open('/formost.html?ref=mysqldriver','MyWindow','toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=yes,resizable=no,width=800,height=600'); return false;">guestbook</A>&nbsp;
136. </CENTER></TD>
137. <TD WIDTH=25 BGCOLOR=GREY></TD><TD WIDTH=25 BGCOLOR=WHITE></TD>
138. <TD bgcolor=white Valign=TOP WIDTH=800>
139. <?php misty($driver, $file, $filer, $driveri, $filei);
140. echo "</TD></TR></TABLE><BR>";
141. }
142. ?>
143. </BODY></HTML>
144.