码迷,mamicode.com
首页 >  
搜索关键字:curl wget    ( 11696个结果
淘管 ERP项目与淘宝对接中产生的若干问题及处理办法
现象:ERP绑定淘宝后,下载商品数据时如果成功,ajax不断尝试重发。原因: /app/taoapi/lib/top/TopClient.php 中的curl()方法成功后,返回空值,而前端收到空值会当作超时,然后不断向目标地址发出重试请求。解决办法:修正异常处理并为前端加上重试次数限制或手工重试。...
分类:其他好文   时间:2014-08-01 22:32:02    阅读次数:189
centos下安装nodejs, log.io
centos6.4, 6.5自带的python版本可以安装相应的nodejs版本wget http://nodejs.org/dist/v0.9.0/node-v0.9.0.tar.gz tar zxvf node-v0.9.0.tar.gz cd node-v0.9.0 ./co...
分类:Web程序   时间:2014-08-01 13:06:31    阅读次数:278
【解决方法】magento paypal快速结账 不跳转
magento paypalExpress Checkout(快速结账) 页面不跳转到Paypal的解放方法我使用的magento 1.9.0.1 版本的,Paypal 快速结账都已经设置完毕,但是点击Paypal 支付的时候不跳转。在网上找了好久,有的朋友说是,php 的 curl 没有打开,但我...
分类:其他好文   时间:2014-07-31 19:49:27    阅读次数:222
一个简单的监控网站是否正常并自动重启服务的shell脚本
#!/bin/sh if [ -z "`curl --connect-timeout 15 --max-time 20 --head --silent http://localhost/index.php|head -n 1|grep ‘200‘`" ];then echo -e "$(date +%Y-%m-%d)\n" killall nginx killall...
分类:Web程序   时间:2014-07-31 17:23:50    阅读次数:301
curl命令
对于windows用户如果用Cygwin模拟unix环境的话,里面没有带curl命令,要自己装,所以建议用Gow来模拟,它已经自带了curl工具,安装后直接在cmd环境中用curl命令就可,因为路径已经自动给你配置好了。 linux curl是一个利用URL规则在命令行下工作的文件传输工具。它支持....
分类:其他好文   时间:2014-07-31 09:41:36    阅读次数:463
wget命令
WGET命令wget的使用形式是:wget [参数列表] URL首先来介绍一下wget的主要参数:· -b:让wget在后台运行,记录文件写在当前目录下"wget-log"文件中;· -t [nuber of times]:尝试次数,当wget无法与服务器建立连接时,尝试连接多少次。比如"-t120...
分类:其他好文   时间:2014-07-31 09:40:16    阅读次数:506
rsync单向同步
系统版本:Centos X64 6.4(最小化安装)先安装依赖包1 [root@localhost ~]# yum install vim wget lsof gcc make cmake makeconf autoconf automake openssh -yView Code开始下载安装1 [...
分类:其他好文   时间:2014-07-31 02:50:45    阅读次数:450
thrift 安装 make 失败 ar: .libs/ThriftTest_constants.o: No such file or directory
$wget http://mirrors.cnnic.cn/apache/thrift/0.9.1/thrift-0.9.1.tar.gz$tar zxvf thrift-0.9.1.tar.gz$cd thrift-0.9.1$./configure$make /bin/bash ../../l....
分类:其他好文   时间:2014-07-30 20:32:14    阅读次数:624
centos6.5 64位下安装私有npm
搭建自己的私有npm库 ============= ##1.安装Couchdb [root@npm_private ~]# yum install wget [root@npm_private ~]# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm [...
分类:其他好文   时间:2014-07-30 10:15:33    阅读次数:427
PHP curl传 json字符串
$ch = curl_init(); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POSTFIEL...
分类:Web程序   时间:2014-07-30 00:50:32    阅读次数:223
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!