note 8083 added to ftp_login

From: Date: Sat, 26 Aug 2000 06:19:40 +0000
Subject: note 8083 added to ftp_login
Groups: php.notes 
Request: Send a blank email to php-notes+get-3368@lists.php.net to get a copy of this message
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. http://www.php.net/manual/function.ftp-login.php

« previous php.notes (#3368) next »