我瞭解到,您可以使用,例如,文件大小的網址(),文件類型(),ISDIR()等通過FTP連接到FTP://用含有@
這網址是用戶名: ftp://user:[email protected]/pub/fichier.txt
但是,我想知道,如果你的用戶名可以說[email protected]
我會寫這樣的網址:
ftp://[email protected]:[email protected]/pub/ficher.txt
此外,註冊會計師nel在共享主機似乎沒有給出選項連接沒有@符號。
換句話說,當用戶名爲[email protected]時,如何通過ftp://user:[email protected]登錄。
感謝 賽勒斯
編碼'@'用戶名中的'%40',它應該工作,我認爲。 ['urlencode()'](http://php.net/urlencode) – DaveRandom