note 8083 deleted from function.ftp-login by didou
| From: | didou@php.net | Date: | Fri, 06 Jun 2003 13:36:26 +0000 |
| Subject: | note 8083 deleted from function.ftp-login by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-49871@lists.php.net to get a copy of this message | ||
Note Submitter: clambert@gamespy.com
----
If the user/pass combo isn't accepted, the function returns a 0. However, it also outputs an
ugly error message to the browser, even if theres not a syntax/parse error.
Try putting an @ before the function name to avoid any error output, and then you can check the
return value of 0 or 1 on your own.