Update of /cvsroot/corewar/pQmars/qcw-dev/cli-srv/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4183/qcw-dev/cli-srv/admin
Modified Files:
index.php
Log Message:
testing run of perl scripts in the background
Index: index.php
===================================================================
RCS file: /cvsroot/corewar/pQmars/qcw-dev/cli-srv/admin/index.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** index.php 10 Oct 2005 19:45:25 -0000 1.8
--- index.php 11 Oct 2005 20:21:49 -0000 1.9
***************
*** 19,28 ****
putenv ("COREWORLD_BIN=$qcw_bin");
! echo "***COREWORLD_MYSQL_SERVER=$mysql_srv***\n";
! echo "***COREWORLD_BIN=$qcw_bin***\n";
$value = $_GET['value'];
! #echo "***$value***";
if ($value == "md5") {
--- 19,28 ----
putenv ("COREWORLD_BIN=$qcw_bin");
! echo "<br>***COREWORLD_MYSQL_SERVER=$mysql_srv***";
! echo "<br>***COREWORLD_BIN=$qcw_bin***";
$value = $_GET['value'];
! #echo "<br>***$value***";
if ($value == "md5") {
***************
*** 35,39 ****
}
elseif ($value == "stop") {
! $admin = "
admin.pl -s";
}
else {
--- 35,44 ----
}
elseif ($value == "stop") {
! #$admin = "
admin.pl -s";
!
! exec("sleep 600 >/dev/null 2>&1 &");
! #exec("kill -9 22445");
!
! echo "<br>wake-up-time!";
}
else {