Re: help!!! I can't work with "fopensock()"
| From: | Mark Selby | Date: | Tue, 14 Nov 2000 03:54:15 +0000 |
| Subject: | Re: help!!! I can't work with "fopensock()" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25110@lists.php.net to get a copy of this message | ||
$fp = fsockopen("host.domain.tld", 23);
echo fgets($fp, 500);
fputs($fp, "\n");
echo fgets($fp, 500);
fputs($fp, "\n");
echo fgets($fp, 500);
fclose($fp);
----- Original Message -----
From: "forestwater" <forestwater@sina.com>
To: <php-general@lists.php.net>
Sent: Tuesday, November 14, 2000 3:20 AM
Subject: [PHP] help!!! I can't work with "fopensock()"
> I use the function "fscokopen()" to connect to net but it can't work.
> I write like this :
> fscokopen("pop.mail.yahoo.com",110);
> I try it with telnet ,the address is right.
> please help me!!!
> ______________________________________
>
> ===================================================================
> ÐÂÀËÃâ·Ñµç×ÓÓÊÏä http://mail.sina.com.cn
> ÐÂÀËÍÆ³ö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ
> http://sms.sina.com.cn/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>