PHP ftp_login() 函数
PHP 教程
· 2019-01-26 08:58:49
定义和用法
ftp_login() 函数登录 FTP 服务器。
如果成功,该函数返回 TRUE。如果失败,则返回 FALSE 和一个警告。
语法
ftp_login(ftp_connection,username,password)
| 参数 | 描述 |
|---|---|
| ftp_connection | 必需。规定要登录的 FTP 连接。 |
| username | 必需。规定用于登录的用户名。 |
| password | 必需。规定用于登录的密码。 |
实例
<?php
$conn = ftp_connect("ftp.testftp.com") or die("Could not connect");
ftp_login($conn,"admin","ert456");
ftp_close($conn);
?>
点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html
Haskell Programming from first principles
Christopher Allen、Julie Moronuki / 2015 / USD 59.00
I am writing this book because I had a hard time learning Haskell. It doesn't have to be that way. I've spent the last couple years actively teaching Haskell online and in person. Along the way, I ......一起来看看 《Haskell Programming from first principles》 这本书的介绍吧!