顯示文章

這裡允許您檢視這個會員的所有文章。請注意, 您只能看見您有權限閱讀的文章。


文章 - edwardleung

頁: [1] 2 3 ... 38
1
您好,

如 逗號,斜號,星號和分號 ?
怎樣可以避免 ?

謝謝!

2
網頁技術 / 利用 javascript 計算日數問題
« 於: 2017-03-16 11:06 »
function getDates()
{
   
   from_date = document.getElementById("from_date").value;
   to_date = document.getElementById("to_date").value;
   
   start = new Date(from_date);
   end = new Date(to_date);
   

   while(start<=end)
   {
      document.write(start);   
      document.write("<br>");
            
      newDate = start.setDate(start.getDate()+ 1);
      start = new Date(newDate);
      ;
      
   }
   
}

請問以下問題:
1, setdate 和 getdate 分別和用法?
2, 如何顯示日期為 年月日 格式? 即 yyyy-mm-dd
3, 如何將顯示的日期存入 array ?

謝謝幫忙 !

3
Linux 討論版 / Centos7 yum 安裝新版 php
« 於: 2017-03-04 01:07 »
各位大大您們好,

請問 centos 7 支持 php 新版本 5.6 or 7 ?
如何修改 yum 設定去安裝 ?

謝謝分享.

4
您好,

請問有否例子關於以下問題:
1, sql injection.
2, input 有特別字串.

謝謝.

5
您好,

或者呢.

謝謝!

6
您好,

請問如何修改相關設定?
有否文章例子可以分享 ?

謝謝!

7
PHP程式設計討論區 / 資料表存取符號問題
« 於: 2017-02-15 10:11 »
各位大大您們好,

請問如果 web forum 的欄位中,輸入了如 Edward's PC, message 1 "note", 'Hello' 其中字元符號 ' / "" / '' , 可以如何修改編程碼存入資料表呢?
有否資料可以分享 ?

謝謝

8
Linux 討論版 / horde / imp 架設問題
« 於: 2017-02-09 18:40 »
各位大大您們好,

看過以下文章:
https://www.horde.org/apps/webmail/docs/INSTALL
https://www.horde.org/apps/imp/docs/INSTALL
https://www.horde.org/apps/horde/docs/INSTALL

如果只是架設 WebMail 的話, 是否只需安裝和設定 horde, imp 即可?
還是也需要先加入 Horde Groupware Webmail Edition ?

因為今天測試遇到以下:
http://ip-address/horde/test.php, 通過
但是:
http://ip-address/horde/login.php, 失敗, login failed...
之前執行 webmail-install, 最後選項為預設 administrator
userid : administrator, password : blank, 登入失敗

可以幫忙? 有否文章可以分享 ?

謝謝!

9
您好,

賞試 plugins/password/readme 提示, 利用 chpasswd 可以成功更新密碼了...

謝謝!

10
Linux 討論版 / Re: dovecot quota 設定問題
« 於: 2017-02-05 16:16 »
您好,

剛試試以下設定:

quota = dirsize:User quota

再測試後好像成功...

謝謝

11
Linux 討論版 / dovecot quota 設定問題
« 於: 2017-02-05 15:33 »
各位大大您們好,

測試環境是 centos 7.3:

dovecot 設定:

90-quota.conf:

plugin {
  quota = fs:User quota
  quota_rule = *:storage=1M
  quota_exceeded_message = Quota exceeded
}

20-imap.conf:

protocol imap {
 mail_plugins = $mail_plugins imap_quota
}

dovecont/conf.d/10-mail.conf:

mail_plugins = $mail_plugins quota

roundcube 已設定 imap debug :

[05-Feb-2017 15:01:09 +0800]: <ae741tce> [DDFF] S: A0007 OK Fetch completed.
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [7283] S: A0002 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA] Logged in
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [7283] C: A0003 LIST (SUBSCRIBED) "" "*"
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [7283] S: * LIST (\Subscribed \NoInferiors \Marked) "/" Sent
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [7283] S: A0003 OK List completed.
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [7283] C: A0004 STATUS INBOX (MESSAGES UNSEEN)
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [7283] S: * STATUS INBOX (MESSAGES 11 UNSEEN 0)
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [7283] S: A0004 OK Status completed.
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [7283] C: A0005 STATUS Sent (MESSAGES UNSEEN)
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [7283] S: * STATUS Sent (MESSAGES 8 UNSEEN 0)
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [7283] S: A0005 OK Status completed.
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [DDFF] C: A0008 GETQUOTAROOT INBOX
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [DDFF] S: A0008 OK No quota.
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [7283] C: A0006 LOGOUT
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [7283] S: * BYE Logging out
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [7283] S: A0006 OK Logout completed.
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [DDFF] C: A0009 LOGOUT
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [DDFF] S: * BYE Logging out
[05-Feb-2017 15:01:09 +0800]: <ae741tce> [DDFF] S: A0009 OK Logout completed.

測試寄出的郵件為3MB, 還可以接收該郵件, 但 Webmail 沒有提示關於 Quota warning 訊息...
可以幫忙?

謝謝

12
Hello,

in dovecont/conf.d/90-quota.conf:

plugin {
  quota = fs:User quota
  quota_rule = *:storage=1M
  quota_exceeded_message = Quota exceeded
}

in dovecont/conf.d/20-imap.conf:

protocol imap {
 mail_plugins = $mail_plugins imap_quota
}

in dovecont/conf.d/10-mail.conf:

mail_plugins = $mail_plugins quota

I tried to send mail within 3MB attachment, BUT there is no nay warning message display ?
would you mind to help ?

Thanks !

13
各位大大您們好,

測試系統是 Centos7.3 ( smtp postfix and dovecot imap ) + roundcube 1.2.3.
請問如何可以啟動 mail quota 和設定 mail quota 限制每用戶 2GB 空間?
有否架設文章可以分享經驗 ?

謝謝

14
您好,

如要變更系統(centos7.3)用戶密碼的話,那個 plugins password 可以?
有否架設文章可以分享?

謝謝

15
您們好,

測試環境是 centos 7.3 ( CentOS-7-x86_64-DVD-1611 ), roundcube 1.2.3 請問如何可讓 client 自行變更密碼 ?

謝謝

16
PHP程式設計討論區 / php7 和 MS-SQL
« 於: 2017-02-02 17:38 »
各位大大您們好,

新年快樂!
請問 php7 可以配合使用 MS-SQL ?
有否架設文章可以分享 ?

謝謝

17
您好,

請問 centos 7.3 ( CentOS-7-x86_64-DVD-1611.iso ) 預設的 postfix smtp 和 dovecot imap 是否無法寄收本機 localhost 信件 ?

謝謝

18
您好,

現在測試環境是 centos 7.3 ( CentOS-7-x86_64-DVD-1611 ), 在網上找到這編文章 https://wiki.centos.org/zh/HowTos/postfix_sasl
不知對於設定 postfix smtp 和 dovecot imap 及 test smtp 和 test imap 是否有幫助呢?

另請問 SASL 只能為身份驗證(用戶代號及密码), 而SSL / TLS ( SSL 由第 3.1 版开始被 IETF 换名为 TLS ) 可以過程中把資料加密 ?
基本這樣分別?

謝謝

19
Linux 討論版 / roundcube + smtp + imap 設定問題
« 於: 2017-01-28 23:00 »
各位大大您們好,

新年快樂!

環境是 centos7, 請問 smtp postfix 和 dovecot imap 要如何修改設定,才可以配合 roundcube ?
因為 test smtp 可以通過, 但 test imap 認證失敗⋯
可以分享架設經驗?

謝謝

20
Linux 討論版 / Re: WebMail 系統
« 於: 2017-01-26 11:41 »
您好,

請問 roundcube 預設是否需要 SSL / TLS 連線? 即是 Authentication ?
1, smtp postfix 設定 TLS 連線範例配合使用 roundcube ?
2, dovecot imap 設定 SSL 連線範例配合使用 roundcube ?
3, httpd 認證設定範例配合使用 roundcube ? 是否要有 http based authentication 才可以配合 roundcube ?

另請問 Centos 7.2 比較易安裝和設定最新版本 roundcube ?

謝謝

21
Linux 討論版 / Re: WebMail 系統
« 於: 2017-01-25 18:29 »
您好,

現在測試環境是 Centos7, 已 yum 了 postfix smtp, dovecot imap , php and mariadb 等, 但當測試 roundcube 時遇到 AUTHENTICATE PLAIN: Authentication failed... 問題, 請問有否關於 SMTP, IMAP 及 roundcube 設定 Authentication 資料分享?

謝謝

22
Linux 討論版 / Re: WebMail 系統
« 於: 2017-01-25 09:56 »
您好,

是否先 yum install epel 然後再 yum install -y roundcubemail ?

謝謝

23
Linux 討論版 / Re: WebMail 系統
« 於: 2017-01-24 07:31 »
有否架設文章可以分享?

24
Linux 討論版 / Re: WebMail 系統
« 於: 2017-01-24 00:14 »
您好,

請問有否文章 centos7 + Mariadb + php + Apache + roundcube 最新版本可以分享呢?

謝謝 ^^

25
Linux 討論版 / WebMail 系統
« 於: 2017-01-13 17:33 »
各位大大您們好,

已使用 Open Webmail 多年時間,不知現在那幾個新產品可以考慮選擇取代它呢?

謝謝 ^^

26
Linux 討論版 / openfiler 設定使用
« 於: 2016-03-02 23:38 »
各位大大您們好,

請問有否快速方法可以設定openfiler 為 NAS storage , 可讓 windows client 利用 iscsi 連線到 NAS ( openfiler ) 實作測試呢?

謝謝幫忙 ^^

27
PHP程式設計討論區 / php + captcha + html form
« 於: 2015-12-03 09:55 »
各位大大您們好,

請問有否例子可以分享?

謝謝幫忙!

28
您好,

請問有否關於gsm modem 資料可以分享呢?
有打算先購置一台硬件設備回來先做測試(配合)...

謝謝幫忙

29
各位大大您們好,

請問如有需要自行編程傳送 SMS (短訊息) 到用戶手機的話, 是否需要經由 GSM modem 才可以進行?
還有其它硬件(配合)方案可以考慮 ?

謝謝

30
PHP程式設計討論區 / 編寫 Short Message Service
« 於: 2015-11-17 22:30 »
各位大大您們好,

請問有否例子可以參考(分享)用來編寫傳送 Short Message Service ( SMS ) ?
另是否需要有 SMS Server 才能傳送? 不知MS 的 Server 可以利用架設嗎?

謝謝幫忙 ^^


頁: [1] 2 3 ... 38