fopen
基本解釋
- n.打開文件
英漢例句
- The fopen() function opens a file or URL.
函數(shù)的作用是:打開文件或URL。 - Unfortunately that would not work because the fopen() call will fail if the remote file already exists.
如果遠程文件已經(jīng)存在則fopen()函數(shù)的操作將會失敗。 - Note: As of PHP 4.3.0, both source and dest may be URLs if the "fopen wrappers" have been enabled.
注:從PHP 4.;3 - Opens for reading. If the file does not exist or cannot be found, the fopen call fails.
如果你不輸入全路徑,也可以,就默認在當前文件下! - Warning: fopen(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in ......
當然在服務器上手工訪問那個地址是沒有問題的,不是域名解析的問題。