自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

淹死的鱼

记录,学习

  • 博客(5)
  • 资源 (1)
  • 收藏
  • 关注

原创 163邮箱利用phpmailer发送邮件

<?phpheader("content-type:text/html;charset=utf-8");ini_set("magic_quotes_runtime",0);require 'class.phpmailer.php';function sendemail($to,$subject,$body){ try { $mail = new PHPMailer(true);

2016-11-28 19:50:30 675 1

原创 QQ邮箱利用PHPmailer发送邮件

require_once("class.phpmailer.php"); $mail = new PHPMailer(); //是否启用smtp的debug进行调试 开发环境建议开启 生产环境注释掉即可 默认关闭debug调试模式 $mail->SMTPDebug = 1; //使用smtp鉴权方式发送邮件$mail->isSMTP(); //smtp需要鉴权 这个必须是true $

2016-11-28 10:31:33 765

原创 curl模拟多线程异步提交

$ch = curl_init($url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_NOSIGNAL, true); //注意,毫秒超时一定要设置这个

2016-11-22 10:48:24 946

原创 curl模拟POST,GET提交

<?php以前一直用php中curl函数,现在做个记录$url = "https://lumos-api.herokuapp.com/customers/link-account";$data = array();$data['customerEmail'] = '123587369@qq.com';$data['deviceId'] = '123456';$header[] = "C

2016-11-22 10:13:08 331

原创 linux crontab 实现每隔几秒执行

1、首先编写shell脚本 如下:#!/bin/bashstep=2 #间隔的秒数,不能大于60  for (( i = 0; i     $(curl 'localhost:8080')    sleep $stepdoneexit 0step 为60的约数时 在crontab -e编辑的时候如下:* /1 * * * *  /va

2016-11-03 10:03:03 6732

redis启动脚本

redis启动脚本

2016-03-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除