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

Have you ever considered about adding a little bit more than just your articles?
I mean, what you say is important and all. But imagine if you added some great pictures or videos to give
your posts more, "pop"! Your content is excellent but with images
and clips, this blog could certainly be one of the best in its niche.
Great blog!

作者 Situs Slot Gacor @ 06:19, 2022-07-05

php 用 imap_open 的認証 | 豬窩 | 9

Hello there! Quick question that's completely off topic.
Do you know how to make your site mobile friendly?
My website looks weird when viewing from my apple iphone.
I'm trying to find a template or plugin that might be able to resolve this problem.

If you have any recommendations, please share.
Thank you!

作者 slot gacor terbaru @ 06:17, 2022-07-06

php 用 imap_open 的認証 | 豬窩 | 9

Nice post. I was checking constantly this blog and I'm impressed!
Extremely helpful info particularly the last part :)
I care for such info much. I was looking for this certain info for a long time.

Thank you and good luck.

作者 Giuseppe @ 21:39, 2022-07-06

php 用 imap_open 的認証 | 豬窩 | 8

Hey there! I'm at work browsing your blog from my new iphone 3gs!
Just wanted to say I love reading your blog and look forward to all
your posts! Keep up the superb work!

作者 Pragmatic Play Olympus @ 15:36, 2022-07-07

php 用 imap_open 的認証 | 豬窩 | 13

Hi there, i read your blog from time to time and
i own a similar one and i was just curious if you get a lot of spam feedback?
If so how do you protect against it, any plugin or anything you can recommend?
I get so much lately it's driving me mad so any help is very much appreciated.

作者 http://lovenicole.s20.xrea.com/ @ 07:14, 2022-07-08
«上一篇   1 2 3 ... 8 9 10 11 12 13 14 15 16 17 18 ... 20 21 22  下一篇»
發表迴響
 authimage