Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
If you want to see English page, please click "English" Button at Left.
[
タイトル一覧
|
ページ一覧
|
新規
|
単語検索
|
最終更新
|
ヘルプ
]
Xoops Cube/Hack/HTTPS (E)
をテンプレートにして作成
[
トップ
]
[ ]
開始行:
** Method of using HTTPS when login or change password
*** Edit mainfile.php
add ''XOOPS_SSL_URL''
ex.) define('XOOPS_SSL_URL', 'https://www.nsl.tuis.ac.jp...
*** change [ include/functions.php xoops_refcheck() ] ...
158,164c158
>
> // Fumi.Iseki
> $ref = preg_replace("/^https:/i", "http:", $ref);
> $url = preg_replace("/^https:/i", "http:", XOOPS_U...
>
> //if (strpos($ref, XOOPS_URL) !== 0 ) {
> if (strpos($ref, $url) !== 0 ) {
---
< if (strpos($ref, XOOPS_URL) !== 0 ) {
*** Edit template files of User module
- ''user_default.html''
-<form action="<{$xoops_url}>/user.php" method="post">
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php"...
- ''user_block_login.html''
-<form action="<{$xoops_url}>/user.php" method="post" st...
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php"...
- ''user_edituser.html''
-<form action="#" method="post">
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/edituser....
- ''user_register_form.html''
-<form action="#" method="post">
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/register....
終了行:
** Method of using HTTPS when login or change password
*** Edit mainfile.php
add ''XOOPS_SSL_URL''
ex.) define('XOOPS_SSL_URL', 'https://www.nsl.tuis.ac.jp...
*** change [ include/functions.php xoops_refcheck() ] ...
158,164c158
>
> // Fumi.Iseki
> $ref = preg_replace("/^https:/i", "http:", $ref);
> $url = preg_replace("/^https:/i", "http:", XOOPS_U...
>
> //if (strpos($ref, XOOPS_URL) !== 0 ) {
> if (strpos($ref, $url) !== 0 ) {
---
< if (strpos($ref, XOOPS_URL) !== 0 ) {
*** Edit template files of User module
- ''user_default.html''
-<form action="<{$xoops_url}>/user.php" method="post">
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php"...
- ''user_block_login.html''
-<form action="<{$xoops_url}>/user.php" method="post" st...
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php"...
- ''user_edituser.html''
-<form action="#" method="post">
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/edituser....
- ''user_register_form.html''
-<form action="#" method="post">
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/register....
ページ名:
サイト内 検索
高度な検索
ログイン
ユーザー名:
パスワード:
パスワード紛失
新規登録
サブ メニュー
新着情報
Books
リンク
サイトマップ
e-Learning
TUIS 認証局証明書
ミニカレンダー
2025年 5月
日
月
火
水
木
金
土
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<今日>
オンライン状況
104 人のユーザが現在オンラインです。 (11 人のユーザが xpwiki を参照しています。)
登録ユーザ: 0
ゲスト: 104
もっと...
アクセスカウンタ
今日 :
昨日 :
総計 :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com