12 2012 档案

摘要:1 <?php 2 /** 3 * function getmxrr 4 * 获取指定域名的MX记录信息 5 */ 6 function win_getmxrr($hostname, &$mxhosts, &$mxweight=false) 7 { 8 if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') return; 9 if (!is_array ($mxhosts) ) $mxhosts = array(); 10 if (empty($hostname)) return; 11 ... 阅读全文
posted @ 2012-12-28 00:30 linzj 阅读(2300) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>jquery校验</title> </head> <script type="text/javascript" src="script/jquery.js"></script> <script type="text/javascript" src= 阅读全文
posted @ 2012-12-06 01:27 linzj 阅读(3704) 评论(0) 推荐(0) 编辑
摘要:1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; c 阅读全文
posted @ 2012-12-05 00:04 linzj 阅读(1233) 评论(0) 推荐(0) 编辑
摘要:1 <?php 2 /**堆栈 使用数组模拟入栈和出栈*/ 3 class myStark{ 4 public $top = -1; 5 public $maxStark = 5; 6 public $stark = array(); 7 public function __construct(){ 8 9 }10 /*入栈*/11 public function push($val){12 if($this->top > $this->maxStark - 1){13 return false... 阅读全文
posted @ 2012-12-03 23:40 linzj 阅读(795) 评论(0) 推荐(0) 编辑
摘要:1 <?php 2 /**双向链表 -- 水浒传英雄排行版*/ 3 class hero{ 4 public $name = ''; 5 public $no =''; 6 public $cname = ''; 7 public $next = ''; 8 public $pre = ''; 9 public function __construct($no = '',$name='',$cname=''){10 $this->no = $no;11 $ 阅读全文
posted @ 2012-12-02 23:55 linzj 阅读(848) 评论(0) 推荐(0) 编辑
摘要:1 <?php 2 /**单向链表 -- 水浒传英雄排行版*/ 3 class hero{ 4 public $name = ''; 5 public $no =''; 6 public $cname = ''; 7 public $next = ''; 8 public function __construct($no = '',$name='',$cname=''){ 9 $this->no = $no;10 $this->name = $name;11 $th 阅读全文
posted @ 2012-12-02 23:54 linzj 阅读(1866) 评论(0) 推荐(0) 编辑
摘要:对我们这些Web开发者来说,不计其数的网站,其中有些对我们来说是相当有用的工具。在本文中,我汇编了10个顶有用的网站,可以说每个开发者都应当将这些网站存为自己的书签。Mysql Format DateMySQL Format Date允许你利用MySQL DATE_FORMA函数规范化你的日期数值。只须挑选一个通用的日期格式,然后修改以满足自己的需求。页底将生成MySQL DATE_FORMAT代码会,你只须复制到你的代码中就行了。访问该网站:http://www.mysqlformatdate.comScript Src你是否厌倦了在互联网上一遍遍地奔波、搜索,只是为了找到你需要的Javas 阅读全文
posted @ 2012-12-02 00:33 linzj 阅读(1800) 评论(0) 推荐(0) 编辑