PHP ftp_login() 函数PHP FTP 函数定义和用法ftp_login() 函数登录 FTP 服务器。若成功则返回 true,失败则返回 false 并发出一个警告。语法ftp_login(ftp_connection,userna
PHP ftp_get() 函数PHP FTP 函数定义和用法ftp_get() 函数从 FTP 服务器上下载一个文件。若成功则返回 true,失败则返回 false。语法ftp_get(ftp_connection,local,remote,mo
PHP ftp_get_option() 函数PHP FTP 函数定义和用法ftp_get_option() 函数返回当前 FTP 连接的各种不同的选项设置。语法ftp_get_option(ftp_connection,option) 参数
PHP ftp_fput() 函数PHP FTP 函数定义和用法ftp_fput() 函数上传一个已经打开的文件到 FTP 服务器。若成功则返回 true,失败则返回 false。语法ftp_fput(ftp_connection,remo
PHP ftp_fget() 函数PHP FTP 函数定义和用法ftp_fget() 函数从 FTP 服务器上下载一个文件并保存到本地一个已经打开的文件中。若成功则返回 true,失败则返回 false。语法ftp_
PHP ftp_exec() 函数PHP FTP 函数定义和用法ftp_exec() 函数请求在 FTP 服务器上执行一个程序或命令。若成功(服务器发送响应代码 200),则返回 true,否则返回 false。语法ftp_ex
PHP ftp_delete() 函数PHP FTP 函数定义和用法ftp_delete() 函数删除 FTP 服务器上的一个文件。若成功,则返回 true,否则返回 false。语法ftp_delete(ftp_connection,path)
PHP ftp_connect() 函数PHP FTP 函数定义和用法ftp_connect() 函数建立一个新的 FTP 连接。若成功,则返回一个连接标识,否则返回 false。语法ftp_connect(host,port,timeout)
PHP ftp_close() 函数PHP FTP 函数定义和用法ftp_close() 函数关闭 FTP 连接。该函数关闭给出的连接标识符并释放资源。语法ftp_close(ftp_connection) 参数 描述
PHP ftp_chmod() 函数PHP FTP 函数定义和用法ftp_chmod() 函数设置 FTP 服务器上指定文件的权限。若成功,则该函数返回新的权限。否则返回 false。语法ftp_chmod(ftp_connect
PHP ftp_chdir() 函数PHP FTP 函数定义和用法ftp_chdir() 函数改变 FTP 服务器上的当前目录。若成功,则返回 true。否则返回 false。如果切换目录失败,PHP 还会发出一条警告。
PHP ftp_cdup() 函数PHP FTP 函数定义和用法ftp_cdup() 函数把当前目录改变为 FTP 服务器上的父目录。若成功,则返回 true。否则返回 false。语法ftp_cdup(ftp_connection)
PHP ftp_alloc() 函数PHP FTP 函数定义和用法ftp_alloc() 函数为要上传到 FTP 服务器的文件分配空间。若成功,则返回 true。否则返回 false。语法ftp_alloc(ftp_connection,s
PHP FILTER_VALIDATE_IP 过滤器PHP Filter 函数定义和用法FILTER_VALIDATE_IP 过滤器把值作为 IP 进行验证。 Name: "validate_ip" ID-number: 275可能的标志: FILTER_FLAG_I
PHP FILTER_VALIDATE_EMAIL 过滤器PHP Filter 函数定义和用法FILTER_VALIDATE_EMAIL 过滤器把值作为电子邮件地址来验证。 Name: "validate_email" ID-number: 274例子<?php