ftp_login
Description
bool ftp_login ( resource ftp_stream, string username, string password )Logs in to the given FTP stream.
Parameters
- ftp_stream
-
The link identifier of the FTP connection.
- username
-
The username (USER).
- password
-
The password (PASS).
Return Values
Returns TRUE on success or FALSE on failure. If login fails, PHP will also throw a warning.
Examples
|
PHP Manual for PHP-Nuke made by Chris Karakas |
