Changeset 85 for hadoop-register/etc
- Timestamp:
- Jun 23, 2009, 11:56:24 AM (16 years ago)
- Location:
- hadoop-register/etc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
hadoop-register/etc/funs.php
r84 r85 17 17 { 18 18 header ("refresh:5 ;url=$w_url"); 19 echo '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> "';19 echo '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">'; 20 20 echo "<BR> 此網頁將於 5 秒後重新導向 <BR>"; 21 21 echo "<BR> ======== System Message ========"; … … 35 35 <br> 36 36 '; 37 $str .= "<br><A href= http://" . "$w_localhost" . "check_activate_code.php?user=" .37 $str .= "<br><A href=" . "$w_localhost" . "/check_activate_code.php?user=" . 38 38 $this->user . "&" . "act=" . $this->activate_code . ">啟動 Hadoop 帳號</A>"; 39 39 return $str; … … 56 56 <br>帳號:$this->user 57 57 <br>密碼:$this->new_password 58 <br>登入 http://$w_localhost。58 <br>登入:$w_localhost 59 59 "; 60 60 return $str; … … 100 100 echo "<br>========"; 101 101 echo "<br>this is in W_user->test() <br>"; 102 $str = "<br><A href= http://" . "$w_localhost" . "check_activate_code.php?user=" .102 $str = "<br><A href=" . "$w_localhost" . "/check_activate_code.php?user=" . 103 103 $this->user . "&" . "act=" . $this->activate_code . ">啟動 Hadoop 帳號</A>"; 104 104 //echo $this->user; -
hadoop-register/etc/init.php
r84 r85 6 6 */ 7 7 8 9 10 $w_localhost = "hadoop.nchc.org.tw/";8 // [本機設定] 9 // 設定主機網址 10 $w_localhost = "http://hadoop.nchc.org.tw"; 11 11 12 12 13 13 // [mysql 設定] 14 14 // mysql 主機位址 15 15 $mysql_host = 'localhost'; … … 25 25 26 26 // mysql 資料表 27 $mysql_table = 'hadoop_reg'; 28 27 $mysql_table = 'hadoop_reg'; // 基本使用者資料表 28 $mysql_table_owner = 'hadoop_owner'; // hadoop 帳號分配擁有者 29 29 30 30 // [mail 設定] 31 32 31 // mail server host 32 $mail_server_host = 'smtp.gmail.com'; 33 33 34 35 34 // mail account 35 $mail_account = 'nchcdrbl@gmail.com'; 36 36 $mail_account_name = 'Hadoop admin'; 37 37
Note: See TracChangeset
for help on using the changeset viewer.