Ms7 Search
Google 搜尋 翻譯
calendar
« 九月 2024 »
            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            
近期文章
文章分類
網站連結
Syndicate

« | »

php 用 imap_open 的認証

2007-08-09 @ 16:34 in PHP, JavaScript, Sql

今天為了要一個利用Email帳號來認証使用者的認証程序,之前都利用fopen 的函數來做認証,今天想說用imap_open 來認証比較簡單,可是在設定上一直不能用,php manual 上的demo 是
{localhost:110/pop3}INBOX 或 {localhost:110/pop3} 可是都不行,而在網路上有人用 {localhost:110/pop3/notls} 竟然就可以了,後來查了一下才知道,原來 notls是不使用傳輸層級安全性(TLS) 驗證,可能是我的server沒有支援TLS,以後再研究,可以用 imap_open 認証,真的很方便,只要一行就可以認証

@$mbox = imap_open("{".$host.":110/pop3/notls}",$user,$passwd);
上面一行就可以了,其中 $host => mail server, $user => 使用者 , $passwd => 密碼,以前用 fopen 去開 110 port 要寫7,8行才可以

迴響

php 用 imap_open 的認証 | 豬窩

It's especially hard if you think like you're the only teacher inside your school to attempt fitting new technologies to your planning and classroom delivery.
One other thing which you are required to take into account is limiting access towards the network,
specifically if you participate in any sort of secure printing or if you have
regions of the network which might be for secure files.
Allowing consumers to select the charity, as well as creating a revolving set
of charities, finds being a marketing incentive.

作者 herosignalmedia.com @ 08:35, 2017-06-20

php 用 imap_open 的認証 | 豬窩

An intriguing discussion is definitely worth comment. I believe that
you need to publish more about this topic, it may not be a
taboo subject but usually people do not speak about such subjects.

To the next! Best wishes!!

作者 yacht phuket @ 10:19, 2018-10-25

php 用 imap_open 的認証 | 豬窩

Link exchange is nothing else however it is just placing the other person's blog link on your page at proper place
and other person will also do similar for you.

作者 love Psychics care @ 00:42, 2018-12-16

php 用 imap_open 的認証 | 豬窩

En 24hrs te informará si te han concedido ell crédito.

作者 credito.credito-prestamos.es @ 23:51, 2019-02-18

php 用 imap_open 的認証 | 豬窩

To do your very best self, all of your mental energy has to be concentrated inside the present.
It's not the amount information is it possible to cram into your head previously but, how much information you are able
to actually retain that causes that you learn faster plus more efficiently.

These tattoos can give the wow factor when joined with a sexy set of two heel bone shoes.

作者 Rachele @ 03:03, 2019-03-06
«上一篇   1 2 3 4 5 6 7 8 ... 20 21 22  下一篇»
發表迴響
 authimage