fonction FTP_QUIT PHP ()
Définition et utilisation
fonction FTP_QUIT () pour fermer la connexion FTP.
grammaire
ftp_quit(ftp_connection)
参数 | 描述 |
---|---|
ftp_connection | 必需。规定要关闭的 FTP 连接。 |
Trucs et astuces
Astuce: Cette fonction est une fonction alias ftp_close ().
Exemples
<?php
$conn = ftp_connect("ftp.testftp.com") or die("Could not connect");
//some code to be executed
ftp_quit($conn);
?>
$conn = ftp_connect("ftp.testftp.com") or die("Could not connect");
//some code to be executed
ftp_quit($conn);
?>
Remplissez PHP FTP Référence