SAE不允许读写文件问题
baidut opened this issue · comments
Zhenqiang.Ying commented
hosts获取问题
由于要更新hosts.txt 但SAE出于安全考虑不允许进行fopen fwrite 操作
Warning: fopen(host.txt) [function.fopen]: failed to open stream: Permission denied in hosts.php on line 8
Unable to open file!
解决方案:SAE提供的stoage服务
https://github.com/xiaosier/php-saestorage