Filesystem


PHP Filesystem鍑芥暟鍒楄〃

basename - 杩斿洖璺緞涓殑鏂囦欢鍚嶉儴鍒
chgrp - 鏀瑰彉鏂囦欢鎵灞炵殑缁
chmod - 鏀瑰彉鏂囦欢妯″紡
chown - 鏀瑰彉鏂囦欢鐨勬墍鏈夎
clearstatcache - 娓呴櫎鏂囦欢鐘舵佺紦瀛
copy - 鎷疯礉鏂囦欢
delete - 鍙傝 unlink 鎴 unset
dirname - 杩斿洖璺緞涓殑鐩綍閮ㄥ垎
diskfreespace - disk_free_space 鐨勫埆鍚
disk_free_space - 杩斿洖鐩綍涓殑鍙敤绌洪棿
disk_total_space - 杩斿洖涓涓洰褰曠殑纾佺洏鎬诲ぇ灏
fclose - 鍏抽棴涓涓凡鎵撳紑鐨勬枃浠舵寚閽
feof - 娴嬭瘯鏂囦欢鎸囬拡鏄惁鍒颁簡鏂囦欢缁撴潫鐨勪綅缃
fflush - 灏嗙紦鍐插唴瀹硅緭鍑哄埌鏂囦欢
fgetc - 浠庢枃浠舵寚閽堜腑璇诲彇瀛楃
fgetcsv - 浠庢枃浠舵寚閽堜腑璇诲叆涓琛屽苟瑙f瀽 CSV 瀛楁
fgets - 浠庢枃浠舵寚閽堜腑璇诲彇涓琛
fgetss - 浠庢枃浠舵寚閽堜腑璇诲彇涓琛屽苟杩囨护鎺 HTML 鏍囪
file - 鎶婃暣涓枃浠惰鍏ヤ竴涓暟缁勪腑
fileatime - 鍙栧緱鏂囦欢鐨勪笂娆¤闂椂闂
filectime - 鍙栧緱鏂囦欢鐨 inode 淇敼鏃堕棿
filegroup - 鍙栧緱鏂囦欢鐨勭粍
fileinode - 鍙栧緱鏂囦欢鐨 inode
filemtime - 鍙栧緱鏂囦欢淇敼鏃堕棿
fileowner - 鍙栧緱鏂囦欢鐨勬墍鏈夎
fileperms - 鍙栧緱鏂囦欢鐨勬潈闄
filesize - 鍙栧緱鏂囦欢澶у皬
filetype - 鍙栧緱鏂囦欢绫诲瀷
file_exists - 妫鏌ユ枃浠舵垨鐩綍鏄惁瀛樺湪
file_get_contents - 灏嗘暣涓枃浠惰鍏ヤ竴涓瓧绗︿覆
file_put_contents - 灏嗕竴涓瓧绗︿覆鍐欏叆鏂囦欢
flock - 杞讳究鐨勫挩璇㈡枃浠堕攣瀹
fnmatch - 鐢ㄦā寮忓尮閰嶆枃浠跺悕
fopen - 鎵撳紑鏂囦欢鎴栬 URL
fpassthru - 杈撳嚭鏂囦欢鎸囬拡澶勭殑鎵鏈夊墿浣欐暟鎹
fputcsv - 灏嗚鏍煎紡鍖栦负 CSV 骞跺啓鍏ユ枃浠舵寚閽
fputs - fwrite 鐨勫埆鍚
fread - 璇诲彇鏂囦欢锛堝彲瀹夊叏鐢ㄤ簬浜岃繘鍒舵枃浠讹級
fscanf - 浠庢枃浠朵腑鏍煎紡鍖栬緭鍏
fseek - 鍦ㄦ枃浠舵寚閽堜腑瀹氫綅
fstat - 閫氳繃宸叉墦寮鐨勬枃浠舵寚閽堝彇寰楁枃浠朵俊鎭
ftell - 杩斿洖鏂囦欢鎸囬拡璇/鍐欑殑浣嶇疆
ftruncate - 灏嗘枃浠舵埅鏂埌缁欏畾鐨勯暱搴
fwrite - 鍐欏叆鏂囦欢锛堝彲瀹夊叏鐢ㄤ簬浜岃繘鍒舵枃浠讹級
glob - 瀵绘壘涓庢ā寮忓尮閰嶇殑鏂囦欢璺緞
is_dir - 鍒ゆ柇缁欏畾鏂囦欢鍚嶆槸鍚︽槸涓涓洰褰
is_executable - 鍒ゆ柇缁欏畾鏂囦欢鍚嶆槸鍚﹀彲鎵ц
is_file - 鍒ゆ柇缁欏畾鏂囦欢鍚嶆槸鍚︿负涓涓甯哥殑鏂囦欢
is_link - 鍒ゆ柇缁欏畾鏂囦欢鍚嶆槸鍚︿负涓涓鍙疯繛鎺
is_readable - 鍒ゆ柇缁欏畾鏂囦欢鍚嶆槸鍚﹀彲璇
is_uploaded_file - 鍒ゆ柇鏂囦欢鏄惁鏄氳繃 HTTP POST 涓婁紶鐨
is_writable - 鍒ゆ柇缁欏畾鐨勬枃浠跺悕鏄惁鍙啓
is_writeable - is_writable 鐨勫埆鍚
lchgrp - Changes group ownership of symlink
lchown - Changes user ownership of symlink
link - 寤虹珛涓涓‖杩炴帴
linkinfo - 鑾峰彇涓涓繛鎺ョ殑淇℃伅
lstat - 缁欏嚭涓涓枃浠舵垨绗﹀彿杩炴帴鐨勪俊鎭
mkdir - 鏂板缓鐩綍
move_uploaded_file - 灏嗕笂浼犵殑鏂囦欢绉诲姩鍒版柊浣嶇疆
parse_ini_file - 瑙f瀽涓涓厤缃枃浠
parse_ini_string - Parse a configuration string
pathinfo - 杩斿洖鏂囦欢璺緞鐨勪俊鎭
pclose - 鍏抽棴杩涚▼鏂囦欢鎸囬拡
popen - 鎵撳紑杩涚▼鏂囦欢鎸囬拡
readfile - 杈撳嚭涓涓枃浠
readlink - 杩斿洖绗﹀彿杩炴帴鎸囧悜鐨勭洰鏍
realpath - 杩斿洖瑙勮寖鍖栫殑缁濆璺緞鍚
realpath_cache_get - Get realpath cache entries
realpath_cache_size - Get realpath cache size
rename - 閲嶅懡鍚嶄竴涓枃浠舵垨鐩綍
rewind - 鍊掑洖鏂囦欢鎸囬拡鐨勪綅缃
rmdir - 鍒犻櫎鐩綍
set_file_buffer - stream_set_write_buffer 鐨勫埆鍚
stat - 缁欏嚭鏂囦欢鐨勪俊鎭
symlink - 寤虹珛绗﹀彿杩炴帴
tempnam - 寤虹珛涓涓叿鏈夊敮涓鏂囦欢鍚嶇殑鏂囦欢
tmpfile - 寤虹珛涓涓复鏃舵枃浠
touch - 璁惧畾鏂囦欢鐨勮闂拰淇敼鏃堕棿
umask - 鏀瑰彉褰撳墠鐨 umask
unlink - 鍒犻櫎鏂囦欢

浠ヤ笂灏辨槸PHP Filesystem鍑芥暟鍒楄〃鐨勮缁嗗唴瀹癸紝鏇村淇℃伅璇峰叧娉∣D浜戝叾瀹冪浉鍏虫枃绔狅紒



鏈枃URL锛http://www.odweb.cn/news_show.html?id=118