PHP ftp_login() Function
Complete PHP FTP Reference Manual
Definition and Usage
The ftp_login() function logs in to an FTP server.
Returns TRUE on success, or FALSE with a warning on failure.
Syntax
ftp_login(ftp_connection,username,password)
| Parameters | Description |
|---|---|
| ftp_connection | Required. Specifies the FTP connection to log in to. |
| username | Required. Specifies the username used to log in. |
| password | Required. Specifies the password used to log in. |
Example
Complete PHP FTP Reference Manual