PHP ftp_systype() 函數(shù)
PHP ftp_systype() 函數(shù)

定義和用法
ftp_systype() 函數(shù)返回 FTP 服務(wù)器的系統(tǒng)類型標(biāo)識符。
如果成功,該函數(shù)返回系統(tǒng)類型。如果失敗,則返回 FALSE。
語法
ftp_systype(ftp_connection)
參數(shù) | 描述 |
---|---|
ftp_connection | 必需。規(guī)定要使用的 FTP 連接。 |
實(shí)例
<?php
$conn = ftp_connect("ftp.testftp.com") or die("Could not connect");
ftp_login($conn,"admin","ert456");
echo ftp_systype($conn);
ftp_close($conn);
?>
$conn = ftp_connect("ftp.testftp.com") or die("Could not connect");
ftp_login($conn,"admin","ert456");
echo ftp_systype($conn);
ftp_close($conn);
?>
上面的代碼將輸出:
UNIX

相關(guān)文章
- PHP 數(shù)組排序
- PHP For 循環(huán)
- PHP 包含文件 include 和 require 語句
- PHP 異常處理
- PHP array_diff() 函數(shù)
- PHP array_diff_assoc() 函數(shù)
- PHP array_filter() 函數(shù)
- PHP array_intersect_ukey() 函數(shù)
- PHP array_key_last() 函數(shù)
- PHP array_multisort() 函數(shù)
- PHP array_reduce() 函數(shù)
- PHP array_sum() 函數(shù)
- PHP array_uintersect_assoc() 函數(shù)
- PHP array_unique() 函數(shù)
- PHP array_values() 函數(shù)
- PHP array_walk() 函數(shù)
- PHP arsort() 函數(shù)
- PHP 5 Array 函數(shù)
- PHP 5 Date/Time 函數(shù)
- PHP 雜項(xiàng) 函數(shù)