摘要: 使用 acctpe属性即可 示例: gif,jpg <input type="file" name="pic" accept="image/gif,image.jpg" /> xls,xlsx <input type="file" name="filedata" accept="applicatio 阅读全文
posted @ 2016-10-12 10:51 Tiac 阅读(1943) 评论(0) 推荐(0)
摘要: 战国策魔板装修工具 http://moban.cn/index.php http://moban.cn/index.php?m=content&c=index&a=lists&catid=77 阅读全文
posted @ 2016-10-11 10:06 Tiac 阅读(289) 评论(0) 推荐(0)
摘要: 支付宝技术客服 国内:techservices@alipay.com 国内在线技术客户(随便点几个问题,然后就会出现“人工服务”了)https://support.open.alipay.com/alipay/support/index.htm https://cschannel.alipay.co 阅读全文
posted @ 2016-10-09 13:28 Tiac 阅读(751) 评论(0) 推荐(0)
摘要: 关键:当参数名为"@绝对路径",这时 CURL 會幫你做 multipart/form-data 編碼 实现方法: 阅读全文
posted @ 2016-10-08 13:46 Tiac 阅读(6163) 评论(0) 推荐(0)
摘要: mysql 当两个字段想减时,如果其中一个或两个字段的类型的unsigned无签名类型,如果想减的值小于0则会报错(BIGINT UNSIGNED value is out of range) 测试: select cast(1 as unsigned)-2 select 0-cast(1 as u 阅读全文
posted @ 2016-09-28 14:27 Tiac 阅读(16106) 评论(0) 推荐(0)
摘要: 今天百度一下才知道js 自带 encodeURI 和 decodeURI 方法了,之前还找了其他代码来处理(笑哭了.jpg 阅读全文
posted @ 2016-07-31 22:20 Tiac 阅读(360) 评论(0) 推荐(1)
摘要: 备注: 1)com.sun.org.apache.xml.internal.security.utils.Base64 是对 Byte 字节数组进行的操作 2)经测试,它的处理字母数组时,是直接拼接的字母字符串,再进行和php一样的base64_encode 3)它在处理数字时,是先将数字转成其对应 阅读全文
posted @ 2016-07-22 18:55 Tiac 阅读(1333) 评论(0) 推荐(0)
摘要: 注:教程参考 https://bbs.aliyun.com/read/159390.html 这篇文章来操作就可以了 需要注意的地方是 1)directAdmin 需要一个纯净的环境,安装directAdmin前请卸载系统原来的 apache,mysql和php 2)setup.sh 和 updat 阅读全文
posted @ 2016-07-21 14:05 Tiac 阅读(741) 评论(0) 推荐(0)
摘要: 1)访问官网(mysql社区服务器) http://downloads.mysql.com/archives/community/ 2)选择自己需要的版本和对应服务器(例如 服务器是centos 6.5,则 Select Platform 就选择 Red Hat Enterprise Linux / 阅读全文
posted @ 2016-07-08 16:46 Tiac 阅读(241) 评论(0) 推荐(0)
摘要: 修改 /etc/rc.d/rc.local 文件,加入启动程序的脚本命令就可以了 例如: 阅读全文
posted @ 2016-07-06 14:21 Tiac 阅读(327) 评论(0) 推荐(0)