4 Vivian_shuang

尚未进行身份认证

我要认证

Be a IT engineer!

等级
TA的排名 1w+

svg简单使用

html>html lang="en">head> meta charset="UTF-8"> title>Titletitle>head>body>svg width="500" height="500"> rect x="10" y="10" width="30" height="30" stroke="pink" fill="yellow" str

2016-09-27 08:54:07

JavaScript事件小例子

event.clientX在可视区中,鼠标点击的x坐标event.clientY在可视区中,鼠标点击的y坐标  示例:html lang="en">head>    meta charset="UTF-8">    title>Documenttitle>    script type="text/javascript">        do

2016-09-22 19:54:56

ajax

什么是Ajax  不刷新页面的情况下从服务器获取、提交数据的一种数据交互方式。Ajax使用步骤1、创建Ajax对象var httpRequest = new XMLHttpRequset可以创建一个Ajax请求对象。注意:浏览器的兼容问题IE6以及之前的IE不支持上边的创建爱你方法,这些版本的浏览器并没有集成Ajax,而是当做一个插件来处理,所以在创

2016-09-22 19:53:03

cookie

什么是cookie• 用来保存页面信息的,如用户名、密码• cookie的特性:同一个网站中所有的页面共享一套cookie;数量、大小限制;过期时间• js中使用cookie:document.cookie如何设置cookie?  在js中,使用document.cookie = "键=值"即可,但是这种方式设置的cookie由于没有添加过期时间,所以关闭浏

2016-09-22 19:51:48

login

需要引入jq和bootstraplogin.php<?php/** * Created by PhpStorm. * User: dllo * Date: 16/9/13 * Time: 上午10:50 */session_start();//$_SESSION["user"] = "kitty";//echo $_SESSION["user"];//var_dump

2016-09-22 19:41:13

瀑布流ajax

pubuliu.htmlhtml>html>head> meta charset="UTF-8"> title>title> style type="text/css"> *{ margin: 0; padding: 0; } .wrap{

2016-08-19 09:03:32

upload

upload.htmlhtml>html lang="en">head> meta charset="UTF-8"> title>Titletitle>head>body>form action="upload.php" method="post" enctype="multipart/form-data"> input type="file" nam

2016-08-19 09:02:05

微博

weibo.php<?php/** * Created by PhpStorm. * User: dllo * Date: 16/8/16 * Time: 上午10:41 */require_once "common.php";$sql = "SELECT * FROM weibo ORDER by id DESC LIMIT 5";$result = mysql_q

2016-08-19 08:59:23

ondblclick

shuangji.phphtml>html lang="en">head> meta charset="UTF-8"> meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scal

2016-08-19 08:57:17

ajax_post

ajax_post.htmlhtml>html lang="en">head> meta charset="UTF-8"> title>Titletitle>head>body>div id="box"> input type="text" name="user" id="user"> input type="text" name="pas

2016-08-19 08:52:22

ajax.js

/** * Created by dllo on 16/8/15. */// 用来处理url,以及传入的参数// par 为传入的参数--> 对象{xx:xx,xx:xx}function addPath(url,type,par) { var arr = []; // 把对象形式转为 [xx=xx,xx=xx] for(prop in par){

2016-08-19 08:49:19

ajax.html

html>html lang="en">head> meta charset="UTF-8"> title>Titletitle>head>body>script> //AJAX即“Asynchronous JavaScript and XML” //ajax 主要为了网页不需要整体刷新,只刷新局部、 // 现代浏览器 //var aja

2016-08-19 08:48:45

验证码php

<?php/** * Created by PhpStorm. * User: dllo * Date: 16/8/12 * Time: 下午3:39 */session_start();getCode(4,60,20);function getCode($num,$w,$h) { $code = ""; for ($i = 0; $i $num; $i++)

2016-08-19 08:43:18

验证码

<?php/** * Created by PhpStorm. * User: dllo * Date: 16/8/12 * Time: 下午3:14 */session_start();header("Content-type:text/html;charset=utf-8");header("Content-type: image/png");$width = 200;$

2016-08-19 08:42:22

php绘图2

<?php/** * Created by PhpStorm. * User: dllo * Date: 16/8/12 * Time: 下午4:24 */header("Content-type:image/png;");$image = imagecreate(500,500);//第一次调用,会给画布背景添加颜色imagecolorallocate($image,25

2016-08-19 08:41:57

验证码

yanzhengma.htmlhtml>html lang="en">head> meta charset="UTF-8"> title>Titletitle>head>body>form action="yan.php" method="post"> input type="text" placeholder="输入验证码" name="code">

2016-08-19 08:37:44

php绘图

<?php/** * Created by PhpStorm. * User: dllo * Date: 16/8/12 * Time: 下午3:56 */header("Content-type: image/jpeg");$im = imagecreatetruecolor(100, 100);$w = imagecolorallocate($im, 255, 255,

2016-08-19 08:37:02

注册,登录.php

login.htmlhtml>html lang="en">head> meta charset="UTF-8"> meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=

2016-08-15 19:18:09

模糊查询.php

html>html lang="en">head> meta charset="UTF-8"> meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> me

2016-08-15 19:16:33

mysql基础知识

<?php/** * Created by PhpStorm. * User: dllo * Date: 16/8/11 * Time: 上午9:06 */header("Content-type:text/html;charset=utf-8");// 1. 连接服务器$mysql = mysql_connect("localhost","root","");if ($m

2016-08-15 19:14:50

查看更多

勋章 我的勋章
    暂无奖章