Re: fsockopen

From: Date: Mon, 28 Apr 2003 09:46:35 +0000
Subject: Re: fsockopen
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145495@lists.php.net to get a copy of this message
Try to increase the timeout, 10 seconds is not much. Ter wrote:
Hello All! Can anybody answer me the question. I'm trying to set up smtp-connection. So when I use this command <?php $host="smtp.mail.ru"; $fp = fsockopen ($host, 25, $errno, $errstr, 10) or die ("Can't connect $errno $errstr"); ?> It answers "Can't connect to smtp.mail.ru". What do I do wrongly? Thank You!


« previous php.general (#145495) next »