08 2012 档案
摘要:首先是HTML部分,<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><!--* File: upload.php* Powered By Happig* Date:2012-8-30*--><m
阅读全文
摘要:php.ini中有这么一句表明了 php编码 是 default_charset="utf8";写的网页的编码方式,是ANSI 还是 UTF-8;网页内部声明的是什么编码方式;header("Content-Type:text/html;charset=UTF-8 "); //这是php中编码声名的写法<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!--这是HTML中编码的声名-->$upfile
阅读全文
摘要:centos启动级别inittab为3时候 启动inittab为5时候 启动 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not havenetworking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) 理解Runleve...
阅读全文
摘要:1.date_default_timezone_set('Etc/GMT-8'); 设置php 时间在调用时间函数前先使用这个;如lycon=_POST['ly_con'];date_default_timezone_set('Etc/GMT-8');$ly_tm = date("Y-m-d H:i:s");然后存入数据库的就是服务器时间了~~2.能修改php.ini。打开php.ini查找date.timezone 去掉前面的分号3.据说date_default_timezone_set ("Asia/S
阅读全文
摘要:script src="./javascript/jquery-latest.pack.js" type="text/javascript"></script> //导入jQuery框架文件 要用jQuery必须做此步<script type="text/javascript">$(document).ready(function(){//这个就是jQueryready ,它就像C语言的main 所有操作包含在它里面 $("#button_login").mousedown(funct
阅读全文
摘要:<?php/** Created on 2012-08-23** Order by happig*/class Pages{ var records;//总记录数varpage_size; //页记录数 var pages;//总页数varsetpage; //跳转页数 var offset; //页第一条记录数 function __construct(records,pagesize,setpage){ this−>records=recor...
阅读全文
摘要:1 /* 2 Navic at MySQL Data Transfer 3 Order by : happig 4 Source Server : localhost 5 Source Server Version : 50516 6 Source Host : localhost:3306 7 Source Database : test 8 9 Target Server Type : MYSQL10 Target Server Version : 5051611 File Encoding ...
阅读全文