ftp_login

Example

 bool ftp_login ( resource $ftp_stream , string $username , string $password ) 

Description

Logs in to the given FTP stream.

Return Values

Returns TRUE on success or FALSE on failure. If login fails, PHP will also throw a warning.