note 26194 added to function.fsockopen
| From: | sean at orwd dot com | Date: | Tue, 22 Oct 2002 04:13:46 +0000 |
| Subject: | note 26194 added to function.fsockopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38398@lists.php.net to get a copy of this message | ||
In the above example for mailing via SMTP, I cut and past the code, and it had trouble on this line:
close ($connection);
So, I changed it to:
fclose ($connection);
...and everything worked beautifully!
Thanks for that posting. It saved my bacon!
--
http://www.php.net/manual/en/function.fsockopen.php
http://master.php.net/manage/user-notes.php?action=edit+26194
http://master.php.net/manage/user-notes.php?action=delete+26194
http://master.php.net/manage/user-notes.php?action=reject+26194