ftp_login

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

説明

Logs in to the given FTP stream.

戻り値

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