本プログラムを利用するための規約です。スクリプトをダウンロードした時点で、本規約に同意したことをみなします。必ず目を通して下さい。
以下のダウンロードボタンより、圧縮フォルダを任意の場所にダウンロードして解凍して下さい。
|
ディレクトリ構成(カッコ内に属性を表示)
さくらインターネットでのご利用の場合、パーミッションの変更は必要ありません。(.htaccessの設定は必須)
MY_Search
|
+-- ms_data / [707]
| |
| +-- category.txt [606] *1
| +-- contents.txt [606] *2
| +-- image_confirm.txt [606] *3
|
|
+-- my_search(public_html) /(公開ディレクトリ)
|
+-- index.html [606] (トップページ)
+-- search.php [606]
+-- basic.css [606]
+-- register.css [606]
+-- search.css [606]
+-- .htaccess (htaccess.txtをリネーム)
|
+-- category / [707]
| |
| +-- base.html [606]
| +-- 01.html [606]
| +-- 01_01.html [606]
| +-- 01_02.html [606]
| +-- 02.html [606]
| +-- ・ ・
| +-- ・ ・
| +-- 08_08.html [606]
| |
| +-- site_data /[707]
| |
| +-- contents.txt [606] *2
|
+-- manage / [707]
| |
| +-- index.php
| +-- auth.php
| +-- all_category_file_updata.php
| +-- design.php
| +-- logout.php
| +-- manage.css
| |
| +-- category_set /
| | |
| | +-- index.php
| | +-- category_register.php
| | +-- file_insert.php
| | +-- top_category_column_set.php
| | +-- sub_catebory_delete.php
| | +-- sub_catebory_insert.php
| |
| +-- data / [707]
| | |
| | +-- category.txt [606] *1
| | +-- image-confirm.txt *3
| |
| +-- difine / [707]
| | |
| | +-- address.php [606]
| | +-- data_dir.php [606]
| | +-- domain.php [606]
| | +-- home_url.php [606]
| | +-- list_order.php [606]
| | +-- list_row.php [606]
| | +-- pass.php [606]
| | +-- register_type.php [606]
| | +-- top_category_cnt.php [606]
| | +-- top_category_column.php [606]
| |
| +-- dm /
| | |
| | +-- index.php
| |
| +-- set_up /
| | |
| | +-- index.php
| | +-- top_category_column_set.php
| |
| +-- site_manage /
| |
| +-- index.php
| +-- manage.php
| +-- html_data_delete.php
|
+-- register / [707]
| |
| +-- index.php [606]
| +-- delete.php [606]
| +-- mail1.php [606]
| +-- mail2.php [606]
| +-- mail2_1.php [606]
| +-- mail2_2.php [606]
| +-- submit_pass.php [606]
| +-- delete_html_file_delete.php
| +-- edit_html_file.php
| +-- edit_html_file_delete.php
| +-- edit_html_file_insert.php
| +-- html_file_data_insert.php
| +-- end.php
|
+-- new / [707]
| |
| +-- index.php [606]
|
+-- search / [707]
| |
| +-- index.php [606]
|
+-- image /
※上記ディレクトリ内にある *印は対となっているファイルです。(以下説明文参照)
※属性に関し、PHPをCGIで動かしているサーバーはこの限りではありません。詳しくはサーバー会社にお問合せ下さい。
|
解凍したフォルダは、public_htmlフォルダと、ms_dataフォルダで構成されています。ご利用のサーバーがドキュメントルート以外のディレクトリを利用できる場合は、上記でディレクトリ構成の階層を踏まえ、ms_dataフォルダはドキュメントルート以外へ設置するようお勧めいたします。
.htaccesの設置
登録サイトのデータの漏洩を防ぐため、.htaccessを設置することで、データが保存されている各種テキストファイルのダウンロードを防ぐことが出来ます。 アップロードした後、htaccess.txt を.htaccess とリネームして下さい。
※既に.htaccessがある場合は、そのままアップロードすることでご利用できます。
ms_dataフォルダとは
データ管理ファイルを置くためのフォルダです。ドキュメントルート以外の場所に設置することは勿論、ドキュメントルート内でもマイサーチとは別のディレクトリでデータファイルを置くためのフォルダです。
※この場合は、管理画面の環境設定において、セキュアルートとして設定して下さい。
以上、デフォルト(ダウンロードした構成)のままで利用する場合は、各種設定はこれで終了です。
修正ファイル
以下のような理由でのご利用の場合は、各ファイルを修正する必要が御座います。
- セキュリティのため、ms_dataフォルダをリネームして利用したい場合。
- セキュリティのため、ms_dataフォルダを別の階層へ設置したい場合。
※ms_dataフォルダ(リネームも含む)を利用する場合は、管理画面内の環境設定において、データフォルダ項目では「セキュアルート」として設定して下さい。
下記ファイルをエディタで開いて修正します。(文字コードはEUC-JP)
修正箇所
if($data_dir == "secure"){//*** ↓secureで括られた中を修正します↓ ***
$file_name = "../../../ms_data/category.txt";
$touroku_site_file = "../../../ms_data/contents.txt";
$category_txt = "../../../ms_data/category.txt";
}//*** ↑secureで括られた中を修正します↑ ***
manage/
all_category_file_updata.php 37行目周辺
design.php 106行目周辺
manage/category_set/
category_register.php 25行目周辺
file_insert.php 6行目周辺
index.php 23行目周辺
sub_catebory_insert.php 6行目周辺
top_category_column_set.php 13行目周辺
manage/dm/
index.php 12行目周辺
manage/set_up/
top_category_column_set.php 14行目周辺
manage/site_manage/
html_data_delete.php 14行目周辺
index.php 29行目周辺
manage.php 25行目周辺
new/
index.php 34行目周辺
search/
index.php 34行目周辺
register/
delete.php 15行目周辺
delete_html_file_delete.php 15行目周辺
edit_html_file.php 12行目周辺
html_file_data_insert.php 16行目周辺
index.php 29行目、129行目周辺
submit_pass.php 23行目周辺
※上記ファイルを修正せず、ms_dataフォルダを設置しなくてもご利用可能ですが(この場合、上記ディレクトリ構成図中にある、*印の対となっているファイルが、データファイルとして機能します)、セキュリティを踏まえ、各種ファイルの修正をすることをお勧めします。
- 以上の修正が完了したら、プログラムをFTP転送し、上記の通り各ファイルの属性を変更いたします。