03 2016 档案

摘要:1.不需要组建就可以上传了,用RN自带的formdata实现、 然后放在在fetch或XMLHttpRequest里提交就好了 这里一个大坑是要指定type,不指定的话就会出错 2."react-native-fileupload"上传图片,安卓需要用这个,ios可以直接用XMLHttpReques 阅读全文
posted @ 2016-03-28 09:50 bodhicitta 阅读(393) 评论(0) 推荐(0)
摘要:上传 https://github.com/marcshilling/react-native-image-picker/issues/31 阅读全文
posted @ 2016-03-23 10:08 bodhicitta 阅读(210) 评论(0) 推荐(0)
摘要:1.下载安装 http://www.telerik.com/fiddler 2. 插件扩展 http://www.telerik.com/fiddler/add-ons 3.https ca证书录入 err参考 http://stackoverflow.com/questions/21784280/ 阅读全文
posted @ 2016-03-22 11:18 bodhicitta 阅读(276) 评论(0) 推荐(0)
摘要:php开启openssl的方法,大多数情况下openssl是没有开启的,要想启用需要进行下简单的设置windows下开启方法: 1: 首先检查php.ini中;extension=php_openssl.dll是否存在, 如果存在的话去掉前面的注释符‘;', 如果不存在这行,那么添加extensio 阅读全文
posted @ 2016-03-18 14:44 bodhicitta 阅读(148) 评论(0) 推荐(0)
摘要:php strpos( $_SERVER['HttP_USER_AGENT'] ,'iPhone' ) iPad if(strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone')||strpos($_SERVER['HTTP_USER_AGENT'], 'iPad') 阅读全文
posted @ 2016-03-09 11:32 bodhicitta 阅读(243) 评论(0) 推荐(0)
摘要:输入命令:netstat -ano,列出所有端口的情况。在列表中我们观察被占用的端口 查看被占用端口对应的PID 8081 netstat -ano | findstr '8081' 继续输入tasklist|findstr "5396",回车,查看是哪个进程或者程序占用了5396端口 结束该进程: 阅读全文
posted @ 2016-03-03 14:53 bodhicitta 阅读(172) 评论(0) 推荐(0)
摘要:sudo service squid restart 载自 http://www.68idc.cn/help/jiabenmake/qita/2014033177373.html 阅读全文
posted @ 2016-03-02 11:31 bodhicitta 阅读(122) 评论(0) 推荐(0)
摘要:error JSON_UNESCAPED_UNICODE 中文unicode编码常用 如微信的菜单中文字的时候 JSON_FORCE_OBJECT 后台到前台数据,array强行转对象,不然会被解析为string 预定义常量 下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用 阅读全文
posted @ 2016-03-02 11:03 bodhicitta 阅读(2049) 评论(0) 推荐(1)
摘要:这是我修改之后的代码 在 android/src/main/java/com/yoloci/fileupload/FileUploadModule.java 附加 因为cookie的问题,可以在java header请求的时候添加cookie 参考 :http://www.cnblogs.com/m 阅读全文
posted @ 2016-03-01 17:25 bodhicitta 阅读(278) 评论(0) 推荐(0)