note 57664 added to function.ftp-connect
| From: | brandon dot farber at gmail dot com | Date: | Mon, 10 Oct 2005 19:06:13 +0000 |
| Subject: | note 57664 added to function.ftp-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-96794@lists.php.net to get a copy of this message | ||
In testing, I have been unable to establish any socket connections (including FTP connections) on
shutdown. This is important if you are trying to save the FTP transfer to run after the php script
has been executed (using register_shutdown_function). I am unaware of any configuration options
that control this, and I have found this affects any socket connections I have tried to establish
after shutdown.
The same code works fine if it is executed at runtime, rather than on shutdown. Since I found no
documentation of this behavior, I felt it important to note somewhere. May also be useful if this
was crosslinked to fsockopen comments as well.
----
Manual Page -- http://www.php.net/manual/en/function.ftp-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57664
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57664&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57664&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57664&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57664&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57664&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57664&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57664&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57664&report=yes
Search -- http://master.php.net/manage/user-notes.php