- 博客(27)
- 收藏
- 关注
转载 小程序-----图片动态加载
<!-- 小程序前端的多图加载 --><block wx:for="{{aboutImages}}" wx:key="image"> <image src="{{item}}" data-id="{{index}}" mode="widthFix" style="width:{{imgwidth[index]}}" bindload="...
2017-07-11 17:14:00 684
转载 浅学soap--------4
引入nusoapService.php //运行该文件,在网页中wsdl点击,可浏览生成的wsdl代码;网页提供注册的方法<?phprequire_once ("nusoap/nusoap.php"); $server = new nusoap_server(); // 避免乱码 $server->soap_defencoding ...
2017-05-11 11:24:00 141
转载 浅学soap--------3
//person.wsdl 标签<?xml version="1.0" ?><definitions name="person" targetNamespace="urn:person" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org...
2017-05-11 10:48:00 142
转载 浅学soap--------2
使用wsdl文件:生成wsdl<?phprequire('person.class.php'); // 引入生成wsdl的类文件require('SoapDiscovery.class.php');$wsdl = new SoapDiscovery('person','person'); //第一个类名,第二个随意$wsdl-&...
2017-05-09 17:07:00 129
转载 浅学soap--------1
无wsdl文件:Clint.php //客户端<?php $soap = new SoapClient(null,array('uri'=>'server','location'=>'http://localhost/test/web_service/Service.php')); //location填写服务...
2017-05-09 16:49:00 125
转载 javascript.history.go();
转自:http://www.mikebai.com/Article/2009-11/757.html<input type=button value=刷新 onclick="window.location.reload()"><input type=button value=前进 onclick="window.history.go(1)">...
2017-04-13 14:48:00 283
转载 无限轮播
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> *{ ...
2017-04-13 14:38:00 93
转载 波纹效果
<!doctype html><html><head> <meta charset="utf-8" /><style>span {display: block;width: 100px;height: 100px;margin: 160px auto;animation: ripple...
2017-04-13 14:17:00 91
转载 百度分享案例
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script src="jquery.js"></script> <...
2017-04-13 14:14:00 95
转载 简单验证码
<?php header("Content-Type:image/png");function random($len){ $str = '1234567890qwertyuioplkjhgfdsazxcvbnm'; $strr = ''; for($i=0;$i<$len;$i++) { $strr .= $str[rand(0...
2017-04-13 11:10:00 72
转载 微信菜单加emoji图标
1.https://icomoon.io/app/#/select----------------选择图标后进入2.笑脸表情可选择更多图标,左侧e901,是“字体码”3.将图片复制件自定义菜单编辑框即可,注意菜单长度,顶级菜单长度要求短,PS:左侧码5位和4位生成的图片占菜单长度不一样《1.http://emojifinder.com/2.可以将图标复制进2中...
2017-03-31 11:00:00 273
转载 html中Meta属性
<!DOCTYPE html> <!-- 使用 HTML5 doctype,不区分大小写 --><html lang="zh-cmn-Hans"> <!-- 更加标准的 lang 属性写法 http://zhi.hu/XyIa --><head> <!-- 声明文档使用的字符编码 --> ...
2017-02-08 10:43:00 109
转载 onethink导出excel
function customer_daochu() { /** * 客户名单导出 * */ $customer = D('WcoaUCustomers'); $data = $customer->join("customers_system p on ...
2016-10-27 11:39:00 119
转载 onethinkp导入excel
/** * Excel导入函数 * @author crx349 */ if (!empty($_FILES)) { $config = array( 'maxSize' => 31...
2016-10-27 09:47:00 109
转载 导航效果css
<!doctype html><html><head> <meta charset="utf-8" /><style>html,body{ margin:0; padding:0}#fa{ width:800px; height:30px; background-color:#777;...
2016-10-25 17:05:00 74
转载 php发送邮件
<?phpheader("content-Type: text/html; charset=utf-8"); require("class.phpmailer.php"); //引入文件$mail = new PHPMailer(); //创建对象$mail->IsSMTP(); //试用SMTP发送$mail->Host = "smtp...
2016-10-19 16:58:00 153
转载 js初学者的div移动
<!DOCTYPE HTML><html lang="en-US"><head><meta charset="UTF-8"><meta name="keywords" content="div移动"><title>div移动</title></head><...
2016-10-11 16:20:00 92
转载 html图片预览
<!DOCTYPE html><html><head> <meta charset="utf-8" /> <title></title> <script src="jquery.js"></script></head><bod...
2016-09-28 16:58:00 98
转载 点击事件触发2次
//当点击事件被方法嵌套,会触发两次点击事件,例如:<input id="dj" type="button" value="点击" " /> $(function () { $("#dj").click(function () { alert(3); }); ...
2016-09-28 15:53:00 250
转载 php上传文件类型
下面提供一张IE和火狐浏览器的文件类型对照表:ie火狐id后缀名php识别出的文件类型0gifimage/gif1jpgimage/jpeg2pngimage/png3bmpimage/bmp4psdapplication/octet-str...
2016-09-13 16:29:00 119
转载 关于Thinkphp Upload类
$this->uploads($picurl);public function uploads($picurl) { $config = array( 'maxSize' => 3145728, 'exts' => array('jpg','png','gif','jpeg'),...
2016-09-12 20:38:00 97
转载 Thinkphp上传文件
1 //1.文件上传Onethink使用$uploads->upload()方法会出现bug,使用$uploads->uploadOne()方法 2 $config = array( 3 'maxSize' => 5242880, 4 'exts' => array('jpg','png','gif','jpeg','doc','...
2016-09-12 10:40:00 88
转载 <1 小玩意(覆盖效果)
1 <!DOCTYPE html> 2 <html lang="zh-cn"> 3 <head> 4 <meta charset="utf-8" /> 5 <style> 6 .show1{ animation:show1 0.25s linear;animation-fill-...
2016-09-02 14:38:00 71
转载 echart------属性详细介绍
1 theme = { 2 // 全图默认背景 3 // backgroundColor: 'rgba(0,0,0,0)', 4 5 // 默认色板 6 color: ['#ff7f50','#87cefa','#da70d6','#32cd32','#6495ed', 7 '#...
2016-09-02 14:36:00 82
转载 网页链接(插件,判断服务)
http://detectmobilebrowsers.com/ :判断mobile还是pc的方法http://www.jq22.com/ :插件网转载于:https://www.cnblogs.com/Kqingniao/p/5826804.html...
2016-08-31 17:17:00 96
转载 简单的轮播效果
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <title>无标题文档</title>...
2016-08-31 17:08:00 55
转载 实时时间
<!DOCTYPE html><html lang="zh-cn"><head> <meta charset="utf-8" /></head><body><div><embed width="200" height="80" align="middle" plug...
2016-08-31 17:05:00 107
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人