note 50969 added to function.ftp-connect
| From: | (at) | Date: | Tue, 15 Mar 2005 10:51:04 +0000 |
| Subject: | note 50969 added to function.ftp-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86468@lists.php.net to get a copy of this message | ||
If you pass "localhost" to ftp_connect, it will try a DNS query on zone
"localhost", instead of a hosts file lookup. Was it intended to be like this?
I am not willing to set up a "localhost" zone on my DNS server only for this function to
work!!
----
Manual Page -- http://www.php.net/manual/en/function.ftp-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50969
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50969&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50969&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50969&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50969&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50969&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50969&report=yes
Search -- http://master.php.net/manage/user-notes.php