Reynald I. Ngo said:
> At 05:26 PM 3/12/2003 +0800, Jopoy C. Solano wrote:
>
> Jopoy,
>
> Hmmm... something wierd i noticed. Notice that the code is
> trying
> to initiate an IMAP session but its specified as port :110/pop3?!
> Besides this, the code is opening a session to your imap/pop or
> whatever passing the username and password. Check the code below that
> instead. That's normally where the problem is.
>
>>thanks ... loop back is allowed. in fact wen i logon via wapmail it
>>display the number of messages on my inbox. but when i try to list the
>>messages, the wap emulator points to the line i mentioned.
>> >>$mbox = @imap_open ("{127.0.0.1:110/pop3}INBOX", "$user", "$pw");
the PHP IMAP functions also work with pop3. they rely on the c-client
library as published by the University of Washington (UW-IMAP)
jopoy, do you have a phpinfo() section that says something like this?
imap
IMAP Support enabled
IMAP c-Client Version 2000
(note that the above information is displayed within an HTML table)
it doesn't mean that because you compiled IMAP as a shared library (hence
the .so extension), it's already loaded...check if your php.ini is actually
loading the imap.so "DLL" file :)
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph
To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL
PROTECTED]