firebug-cvs Mailing List for FireBug: wireless wildfire monitoring (Page 39)
Brought to you by:
doolin
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(36) |
Jun
(45) |
Jul
(108) |
Aug
(31) |
Sep
(2) |
Oct
(4) |
Nov
(113) |
Dec
(20) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(63) |
Feb
(37) |
Mar
(24) |
Apr
(6) |
May
(5) |
Jun
(5) |
Jul
(71) |
Aug
(42) |
Sep
(7) |
Oct
|
Nov
|
Dec
|
| 2005 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
(64) |
Jun
(71) |
Jul
(51) |
Aug
(89) |
Sep
(24) |
Oct
(1) |
Nov
(1) |
Dec
(2) |
| 2006 |
Jan
|
Feb
|
Mar
(3) |
Apr
(2) |
May
|
Jun
|
Jul
(21) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|
From: <do...@us...> - 2003-05-21 21:58:18
|
Update of /cvsroot/firebug/firebug/web
In directory sc8-pr-cvs1:/tmp/cvs-serv13746
Modified Files:
db_admin.php db_create.php
Log Message:
Added statement for creating null table for starting logging.
Index: db_admin.php
===================================================================
RCS file: /cvsroot/firebug/firebug/web/db_admin.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** db_admin.php 15 May 2003 00:02:58 -0000 1.3
--- db_admin.php 21 May 2003 21:58:15 -0000 1.4
***************
*** 25,29 ****
<form action="db_create.php" method="post">
Database name: <input type="text" name="dbname" />
! <input type="submit" value="Create database" />
</form>
--- 25,32 ----
<form action="db_create.php" method="post">
Database name: <input type="text" name="dbname" />
! <br />
! Number of motes: <input type="text" name="nummotes"/>
! <br />
! <input type="submit" value="Create database" />
</form>
Index: db_create.php
===================================================================
RCS file: /cvsroot/firebug/firebug/web/db_create.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** db_create.php 14 May 2003 21:36:48 -0000 1.4
--- db_create.php 21 May 2003 21:58:15 -0000 1.5
***************
*** 15,19 ****
--- 15,32 ----
<?php
$dbname = $HTTP_POST_VARS["dbname"];
+ $nummotes = $HTTP_POST_VARS["nummotes"];
+
+ /** Need php v4.2 for this to work.
+ */
+ /* Check to make sure we have numbers intead of garbage.*/
+ /*
+ if (!ctype_digit($nummotes)) {
+
+ print "Must be digits.<br />";
+ }
+ */
+
$statement = "create database if not exists $dbname;";
+
mysql_connect("localhost","root","") or die("Error: ".mysql_error()." in mysql_connect.");
mysql_query($statement) or die("Error: ".mysql_error()." in creating database");
***************
*** 33,39 ****
?>
-
<?php
echo "Database <strong>$dbname</strong> created.";
?>
--- 46,60 ----
?>
<?php
echo "Database <strong>$dbname</strong> created.";
+ ?>
+
+ <?php
+ for ($i = 2; $i <= $nummotes+1; $i++) {
+
+ $statement = "insert into current values ($i,NULL,NULL,NULL,NULL);";
+ print "<br />";
+ print $statement;
+ }
?>
|
|
From: <do...@us...> - 2003-05-20 21:57:01
|
Update of /cvsroot/firebug/firebug/web
In directory sc8-pr-cvs1:/tmp/cvs-serv5179
Modified Files:
field1.html
Log Message:
mailing list test.'
Index: field1.html
===================================================================
RCS file: /cvsroot/firebug/firebug/web/field1.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** field1.html 20 May 2003 21:50:46 -0000 1.5
--- field1.html 20 May 2003 21:56:57 -0000 1.6
***************
*** 12,15 ****
--- 12,16 ----
+
<h1>Purpose</h1>
***************
*** 108,112 ****
<li>Charge batteries.</li>
<li>Ensure toolchain (Apache, PHP, MySQL, JDK) is installed
! and working.</li>
</ul>
--- 109,114 ----
<li>Charge batteries.</li>
<li>Ensure toolchain (Apache, PHP, MySQL, JDK) is installed
! and working. Installing these tools is documented
! <a href="admin.html>here</a>.</li>
</ul>
|