Skip to content

Commit 5a3b1a7

Browse files
committed
e
1 parent 48a814b commit 5a3b1a7

File tree

4 files changed

+27
-12
lines changed

4 files changed

+27
-12
lines changed

account-settings.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33
require_once "head.php";
44
date_default_timezone_set('Asia/Taipei');
55

6-
echo "<p align='center'>FEATURE DISABLED WILL BE BACK IN FUTURE UPDATE</p>";
7-
echo "<br />";
8-
echo "<p align='center'>Redirecting in 3 seconds</p>";
9-
header("refresh:3;url=index.php");
10-
die();
11-
126
if (!isset($_SESSION["email"])) {
137
echo "<p align='center'>PLEASE LOGIN</p>";
148
echo "<br />";

chat/chat.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@
5757
<script src="./index.js"></script>
5858
<script>
5959
$('main').hide();
60-
// const url = "https://g4o2-api.maxhu787.repl.co";
61-
const url = "http://localhost:3000";
62-
// const chatURL = "https://PHP-SQL-Chat.maxhu787.repl.co";
63-
const chatURL = "http://localhost/php-sql-chat";
60+
const url = "https://g4o2-api.maxhu787.repl.co";
61+
// const url = "http://localhost:3000";
62+
const chatURL = "https://PHP-SQL-Chat.maxhu787.repl.co";
63+
// const chatURL = "http://localhost/php-sql-chat";
6464
const socket = io(url);
6565
const messages = document.getElementById('messages');
6666
const form = document.getElementById('message-form');

logs/logs.log

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,23 @@ Login success pepe@q 94.198.181.134 (Fri, 14 Apr 2023 23:20:09 +0800)
180180
Login success [email protected] 220.142.228.251 (Sat, 15 Apr 2023 11:30:57 +0800)
181181
Login success [email protected] 145.224.66.221 (Sat, 15 Apr 2023 16:22:54 +0800)
182182
Login success [email protected] 220.142.228.251 (Sat, 15 Apr 2023 17:54:29 +0800)
183+
Login success pepe@q 94.198.181.69 (Sun, 16 Apr 2023 00:25:26 +0800)
184+
Login success [email protected] 220.142.228.251 (Sun, 16 Apr 2023 00:27:27 +0800)
185+
Login success [email protected] 220.142.228.251 (Sun, 16 Apr 2023 12:44:06 +0800)
186+
Login success [email protected] 152.58.4.196 (Sun, 16 Apr 2023 23:32:31 +0800)
187+
Login success [email protected] 152.58.4.196 (Sun, 16 Apr 2023 23:32:47 +0800)
188+
Login fail wrong password [email protected] cdf36a5540b28cc068badb7b5d1e59fb 145.224.66.221 (Mon, 17 Apr 2023 06:37:23 +0800)
189+
Login fail wrong password [email protected] c59259f507e85a120a107d4af5adef0c 145.224.66.221 (Mon, 17 Apr 2023 06:38:41 +0800)
190+
Login success [email protected] 145.224.66.221 (Mon, 17 Apr 2023 06:38:56 +0800)
191+
Login success [email protected] 145.224.66.221 (Mon, 17 Apr 2023 06:39:00 +0800)
192+
Login success [email protected] 145.224.66.221 (Mon, 17 Apr 2023 06:39:12 +0800)
193+
Login success [email protected] 145.224.66.221 (Mon, 17 Apr 2023 15:12:53 +0800)
194+
Login success pepe@q 94.198.181.138 (Mon, 17 Apr 2023 21:34:58 +0800)
195+
Login success [email protected] 178.220.34.89 (Thu, 20 Apr 2023 21:10:34 +0800)
196+
Logout success [email protected] (Thu, 20 Apr 2023 21:13:53 +0800)
197+
Login success [email protected] 114.27.130.169, 34.168.229.73, 34.160.179.175, 35.191.26.197 (Thu, 20 Apr 2023 21:59:08 +0800)
198+
Login fail wrong password [email protected] 45c4fd97cdd8eb4e85749cf13b518cea 163.24.137.203 (Fri, 21 Apr 2023 15:02:49 +0800)
199+
Login success [email protected] 220.142.231.39 (Fri, 21 Apr 2023 22:58:12 +0800)
200+
Login fail wrong password [email protected] 8b7e3e29d811ae8d658113107bb3fb16 209.23.10.215 (Sat, 22 Apr 2023 15:58:08 +0800)
201+
Login success [email protected] 220.142.231.39 (Sat, 22 Apr 2023 18:07:48 +0800)
202+
Login success [email protected] 220.142.231.39 (Sat, 22 Apr 2023 21:18:19 +0800)

pdo.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
session_start();
33
ob_start();
44
ini_set('display_errors', 0);
5-
/*
5+
66
$HOST = 'sql12.freemysqlhosting.net';
77
$PORT = 3306;
88
$DB_NAME = 'sql12561191';
@@ -14,7 +14,7 @@
1414
$DB_PASSWORD
1515
);
1616
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
17-
*/
17+
/*
1818
$HOST = 'localhost';
1919
$PORT = 3306;
2020
// $DB_NAME = 'sql12561191';
@@ -27,3 +27,4 @@
2727
$DB_PASSWORD
2828
);
2929
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
30+
*/

0 commit comments

Comments
 (0)