couldn't open stream

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bouboul
Forum Commoner
Posts: 28
Joined: Sat Oct 25, 2003 4:08 am

couldn't open stream

Post by bouboul »

hello xtreme guru,

i've followed all your advice but still nothing goes:
i'm still getting ;
Warning: Couldn't open stream {localhost:143}INBOX in /usr/local/httpd/htdocs/view.php on line 5

here is the view.php file :
<? php
$username="user";
$password="password";
$mailserver="localhost:143";
$link=imap_open("\{$mailserver}INBOX",$username,$password);
echo $link ;
?>
i've set the disable option to no in the /etc/xinetd.d/imap, i've also restarted the xinetd.d , but when i'm doing pgrep imapd, i'm getting no output, it seems that there is something strange that i'm not getting at alll.

i need your help please
Post Reply