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 的認証 | 豬窩 | 9

Wow, awesome blog layout! How long have you been blogging for?
you made blogging look easy. The overall look of your site is great, let alone the content!

作者 Https://Xn--Vjb2Bdefg6Ii0B.Com/ @ 20:44, 2022-06-22

php 用 imap_open 的認証 | 豬窩 | 9

First of all I would like to say wonderful blog! I had a quick question which I'd like to ask if you
do not mind. I was interested to know how you center yourself and clear your head prior to writing.
I've had trouble clearing my mind in getting my
thoughts out there. I truly do enjoy writing but it just seems like the first
10 to 15 minutes are generally lost simply just trying to figure out how to begin. Any suggestions
or tips? Thank you!

作者 Situs Slot 4D @ 09:37, 2022-06-23

php 用 imap_open 的認証 | 豬窩 | 9

Definitely believe that which you said. Your favorite reason appeared to be
on the internet the simplest thing to be aware of.
I say to you, I definitely get irked while people consider worries that
they just do not know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people can take a signal.
Will probably be back to get more. Thanks

作者 situs slot gacor @ 12:07, 2022-06-23

php 用 imap_open 的認証 | 豬窩 | 9

I have been exploring for a bit for any high-quality articles or blog posts
in this sort of area . Exploring in Yahoo
I at last stumbled upon this website. Reading this info So i'm happy to
express that I've an incredibly excellent uncanny feeling I came upon exactly what I needed.
I most for sure will make certain to do not forget this website and provides it a look regularly.

作者 https://xn--vjb2bdefg6ii0b.com/ @ 23:24, 2022-06-23

php 用 imap_open 的認証 | 豬窩 | 9

Hello! This is my 1st comment here so I just wanted to give a quick shout out and say I truly enjoy reading through your
blog posts. Can you recommend any other blogs/websites/forums that deal
with the same subjects? Many thanks!

作者 https://xn--vjb2bdefg6ii0b.com/ @ 06:35, 2022-06-24
«上一篇   1 2 3 ... 5 6 7 8 9 10 11 12 13 14 15 ... 20 21 22  下一篇»
發表迴響
 authimage