The SAE does not support write permissions, which is 777 permissions, which the authorities say is for security.
Therefore, PHP commonly used in file_put_contents can not be used directly need to change the following usage
First step: Open storage in the application basic configuration of SAE, create a new domain
The second step: the next Cyberduck software on the Internet to operate the storage
Website: Http://cyberduck.io
Step three: After downloading the installation, click the link button in the upper left corner, fill in the relevant information into
Fourth step: Address needs to be changed when using File_put_contents,
such as: I want to exist in the storage in the Weixin directory under the Log.txt document in the code below
$file = "Saestor://weixin/log.txt";
File_put_contents ($file, $user); File is deposited into the address $user to deposit information
Fifth step: Find the appropriate file in the Cyberduck software to view
Related website: http://sae.sina.com.cn/doc/php/storage.html
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.