您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

php is_writable函数

2026/2/24 7:41:59发布19次查看
is_writable()定义:
函数判断指定的文件是否可写。
语法:
is_writable($filename);
参数列表:
参数描述
filename 必需。规定要检查的文件。
实例:
classtest{publicfunctionhello($filename){if(is_writable($filename)){ echo$filename is writeable; }else{ echo$filename is not writeable; } } }$t=new test();$t->hello(f:file.txt);
输出结果: f:file.txt is writeable
版权声明:本文为博主原创文章,未经博主允许不得转载。
以上就介绍了php is_writable函数,包括了方面的内容,希望对php教程有兴趣的朋友有所帮助。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product