我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

从.php编辑.text的chmod是什么

I've a test.txt file on same folder of myphp.php, test.txt is empty, myphp.php have this:

      <?php
        $g = fopen("test.txt", "w+");
        fwrite($g, 'some text here');
        fclose($g);

When I type www.mysite.com/myphp.php it will only work if I have public permission to "write" (ex 666) on the test.txt but I want it to work with 664, is it possible?

近期文章

  • mp3到服务器端flv怎么样?
  • PHP foreach定位特定项目
  • SASS编译器无法从exec运行
  • 如何在Magento中对我的类别进行排序
  • 根据所选复选框进行过滤
  • mySQL和memcached用于PHP会话?
  • PHP为什么在源代码中使用换行符[关闭]
  • 使用AWS SES和PHP发送电子邮件
  • PHP APC以原子方式获取和设置值
  • 外部服务器codeigniter代码php
  • 用于url重写的htaccess中的base64?
  • Mysql COUNT,不按预期计算[关闭]
  • PHP数组以逗号分隔列表
  • 在xampp窗口上配置phpunit
  • “SyntaxError:缺失; 在声明之前“
  • 使用jQuery添加ToToHomescreen AddClass
  • ImageCreateFromJPEG PHP另一张图片
  • 这段代码是否可以安全地从SQL注入? [关闭]
  • 我需要javascript吗? 在PHP?
  • SQL INNER加入不给出结果

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华