![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
新浪云
烂笔头LBT
比我优秀的人比我更努力
展开
-
新浪云sae上传图片并生成缩略图
//有上传时 if($_FILES['uploadfile']['name']) { $targetFolder = './public/Bigfiles/';//原图地址 $targetFolder_s = './public/Smallfiles/';//缩略图地址 import('ORG.原创 2014-03-03 15:40:31 · 2399 阅读 · 1 评论 -
新浪云计算数据缓存性能测试(文件、KVDB、Memcache)
<?php $times = 1000; //测试的次数 $str_len = 50000; //数据长度 $storage_domain = 'test1'; //存储域 function genRandomString($len) { $chars = array( "a", "b", "c", "d", "e", "f", "g", "h",转载 2015-05-28 11:17:51 · 850 阅读 · 0 评论