Why won't my php code “unlink” text files? [closed]

折月煮酒 提交于 2020-01-05 03:48:13

问题


I have two text files, and a PHP script intended to delete them. My question is: why won't the two text files delete? They are both set to 777, maybe i should change permission settings? I think it's my webhost disallowing the function to execute...

Here is my code: http://informationalinformation.info/fg/cron.php


回答1:


The process must have write permission for the folder in which the file is located.



来源:https://stackoverflow.com/questions/1263544/why-wont-my-php-code-unlink-text-files

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!