Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv19781/chat
Modified Files:
users_low.php3 users.php3 messages_low.php3 input.php3
exit.php3
Log Message:
In case of 'hackers attack' move to the start page but for the parent window
Index: users_low.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users_low.php3,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** users_low.php3 2001/04/28 15:42:02 1.16
--- users_low.php3 2001/05/20 18:56:28 1.17
***************
*** 52,57 ****
C_DB_USER, C_DB_PASS,
C_SESS_TBL,
! C_SESS_DEL * 60,
! C_CHAT_URL
);
dbSessionStart();
--- 52,56 ----
C_DB_USER, C_DB_PASS,
C_SESS_TBL,
! C_SESS_DEL * 60
);
dbSessionStart();
***************
*** 59,62 ****
--- 58,67 ----
$dbSessionDbLink->close();
unset($dbSessionDbLink);
+ // Hackers attack
+ if ($dbSessionIsNew)
+ {
+ include('./lib/move_to_start.lib.' . C_EXTENSION);
+ exit();
+ }
/**
Index: users.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users.php3,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** users.php3 2001/05/04 16:28:26 1.22
--- users.php3 2001/05/20 18:56:28 1.23
***************
*** 51,56 ****
C_DB_USER, C_DB_PASS,
C_SESS_TBL,
! C_SESS_DEL * 60,
! C_CHAT_URL
);
dbSessionStart();
--- 51,55 ----
C_DB_USER, C_DB_PASS,
C_SESS_TBL,
! C_SESS_DEL * 60
);
dbSessionStart();
***************
*** 58,61 ****
--- 57,66 ----
$dbSessionDbLink->close();
unset($dbSessionDbLink);
+ // Hackers attack
+ if ($dbSessionIsNew)
+ {
+ include('./lib/move_to_start.lib.' . C_EXTENSION);
+ exit();
+ }
/**
Index: messages_low.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/messages_low.php3,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** messages_low.php3 2001/04/24 09:07:51 1.16
--- messages_low.php3 2001/05/20 18:56:28 1.17
***************
*** 55,63 ****
C_DB_USER, C_DB_PASS,
C_SESS_TBL,
! C_SESS_DEL * 60,
! C_CHAT_URL
);
dbSessionStart();
! dbSessionUpdateLogTime();
/**
--- 55,71 ----
C_DB_USER, C_DB_PASS,
C_SESS_TBL,
! C_SESS_DEL * 60
);
dbSessionStart();
! // Hackers attack
! if ($dbSessionIsNew)
! {
! include('./lib/move_to_start.lib.' . C_EXTENSION);
! exit();
! }
! else
! {
! dbSessionUpdateLogTime();
! }
/**
Index: input.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/input.php3,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -r1.34 -r1.35
*** input.php3 2001/05/07 21:15:00 1.34
--- input.php3 2001/05/20 18:56:28 1.35
***************
*** 66,73 ****
C_DB_USER, C_DB_PASS,
C_SESS_TBL,
! C_SESS_DEL * 60,
! C_CHAT_URL
);
dbSessionStart();
/**
--- 66,78 ----
C_DB_USER, C_DB_PASS,
C_SESS_TBL,
! C_SESS_DEL * 60
);
dbSessionStart();
+ // Hackers attack
+ if ($dbSessionIsNew)
+ {
+ include('./lib/move_to_start.lib.' . C_EXTENSION);
+ exit();
+ }
/**
Index: exit.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/exit.php3,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** exit.php3 2001/05/10 11:45:37 1.15
--- exit.php3 2001/05/20 18:56:28 1.16
***************
*** 53,58 ****
C_DB_USER, C_DB_PASS,
C_SESS_TBL,
! C_SESS_DEL * 60,
! C_CHAT_URL
);
dbSessionStart();
--- 53,57 ----
C_DB_USER, C_DB_PASS,
C_SESS_TBL,
! C_SESS_DEL * 60
);
dbSessionStart();
***************
*** 60,63 ****
--- 59,68 ----
$dbSessionDbLink->close();
unset($dbSessionDbLink);
+ // Hackers attack
+ if ($dbSessionIsNew)
+ {
+ include('./lib/move_to_start.lib.' . C_EXTENSION);
+ exit();
+ }
/**
|