Changeset 63 for hadoop-register/etc
- Timestamp:
- Apr 24, 2009, 3:23:32 PM (16 years ago)
- Location:
- hadoop-register/etc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
hadoop-register/etc/funs.php
r59 r63 92 92 function get_new_password() 93 93 { 94 95 94 return rand(); 95 } 96 96 97 98 99 100 101 102 103 104 105 106 97 function test() 98 { 99 echo "<br>========"; 100 echo "<br>this is in W_user->test() <br>"; 101 $str = "<br><A href=http://" . "$w_localhost" . "check_activate_code.php?user=" . 102 $this->user . "&" . "act=" . $this->activate_code . ">啟動 Hadoop 帳號</A>"; 103 //echo $this->user; 104 //echo $this->activate_code; 105 } 106 } 107 107 ?> -
hadoop-register/etc/init.php
r59 r63 1 1 <? 2 // echo "載入 init.php";3 /*4 * mysql 主機帳號設定,檔案路徑設定5 * mail server 設定, 郵件 subject 內容設定在 smtp_mai.php6 */2 // echo "載入 init.php"; 3 /* 4 * mysql 主機帳號設定,檔案路徑設定 5 * mail server 設定, 郵件 subject 內容設定在 smtp_mai.php 6 */ 7 7 8 9 10 $w_localhost = "example.com/";8 // [本機設定] 9 // 設定主機網址 10 $w_localhost = "hadoop.nchc.org.tw"; 11 11 12 12 13 14 // mysql 主機位址15 13 // [mysql 設定] 14 // mysql 主機位址 15 $mysql_host = 'localhost'; 16 16 17 // mysql 帳號18 17 // mysql 帳號 18 $mysql_user = 'hadoop'; 19 19 20 // mysql 密碼21 $mysql_password = 'hadoop-password';20 // mysql 密碼 21 $mysql_password = 'hadoop'; 22 22 23 // mysql 資料庫24 23 // mysql 資料庫 24 $mysql_database = 'hadoop'; 25 25 26 // mysql 資料表27 $mysql_table = 'hadoop_reg';// 基本使用者資料表28 $mysql_table_owner = 'hadoop_owner';// hadoop 帳號分配擁有者26 // mysql 資料表 27 $mysql_table = 'hadoop_reg'; // 基本使用者資料表 28 $mysql_table_owner = 'hadoop_owner'; // hadoop 帳號分配擁有者 29 29 30 // [mail 設定]31 32 30 // [mail 設定] 31 // mail server host 32 $mail_server_host = 'smtp.gmail.com'; 33 33 34 35 $mail_account = 'user@gmail.com';36 $mail_account_name = 'Hadoop admin';34 // mail account 35 $mail_account = 'nchcdrbl@gmail.com'; 36 $mail_account_name = 'Hadoop admin'; 37 37 38 39 $mail_user = 'user@gmail.com';38 // mail user 39 $mail_user = 'nchcdrbl@gmail.com'; 40 40 41 // mail password42 $mail_password = 'password of user@gmail.com';41 // mail password 42 $mail_password = '0911772703'; 43 43 44 44 ?>
Note: See TracChangeset
for help on using the changeset viewer.