$str = 'QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm0123456789';
$noncestr = substr(str_shuffle($str1), 0,16);
憂傷,php自帶的字符串函數夠多了,
。。。
$noncestr = substr(str_shuffle($str1), 0,16);
憂傷,php自帶的字符串函數夠多了,
。。。
2016-11-08
另外如果出現_STORAGE_WRITE_ERROR_:./weixin/Runtime/Cache/Home/54s98fas48asd7f6as4f6as54.php問題則是因為——權限問題。在根目錄下給 weixin(你自己的文件夾名)文件夾賦予權限
chmod 0777 -R weixin
即可
chmod 0777 -R weixin
即可
2016-10-13
assign()問題,可能是html文件地址對不對,display(‘share’)默認調用share.html,應該在view文件夾-》Index文件夾-》share.html文件?,html文件對可能是老師的__construct()這個方法影響了,我刪了這個方法就可以調用到了。
頂部的function __construct(){ }刪除
頂部的function __construct(){ }刪除
2016-10-13