← Continue Reading
另一种调用方式:
$fu = new FileUtil();
$fu->copyFile('a/1/2/3', 'a/1/2/4');
← Continue Reading
Linux下网卡命名规律:eth0,eth1。第一块以太网卡,第二块。lo为环回接口,它的IP地址固定为127.0.0.1,掩码8位。它代表你的机器本身。
1、ifconfig是查看网卡的信息。
ifconfig [Interface]
Interface是可选项,如果不加此项,则显示系统中所有网卡的信息。如果添加此选项则显示所指定的网卡信息
例如:ifconfig eth0
eth0 L...
← Continue Reading
http://downloads.php.net/pierre/
← Continue Reading
刚才提交打卡记录,发现有几次忘记打卡鸟,就找到了这个破解方法,很不错哟
在日常工作中,您是否遇到过这样的情况:您用Excel编制的报表、表格、程序等,在单元格中设置了公式、函数等,为了防止其他人修改您的设置或者防止您 自己无意中修改,您可能会使用Excel的工作表保护功能,但时间久了保护密码容易忘记,这该怎么办?有时您从网上下载的Excel格式的小程序,您想修 改,但是作者加了工作表保护密码,怎么...
← Continue Reading
代码如下
【
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html><head>
<title>测试</title>
<meta http-equiv="Content-type" content="text/html; charset=gb2312">
<meta h...
← Continue Reading
$str=preg_replace("/\s+/", " ", $str); //过滤多余回车
$str=preg_replace("/<[ ]+/si","<",$str); //过滤<__("<"号后面带空格)
$str=preg_replace("/<\!--.*?-->/si","",$str); //注释
$str=preg_replace("/<...
← Continue Reading
//PHP 解密Java
<?php
class AESMcrypt {
public $iv = null;
public $key = null;
public $bit = 128;
private $cipher;
public function __construct($bit, $key, $iv, $mode) {
if(empty($bit) || empty($key) |...
← Continue Reading
【测试通过】
<?php
error_reporting(0);
//邮箱用户名(不带@163.com后缀的)
$user = 'username';
//邮箱密码
$pass = 'password';
//目标邮箱
//$mail_addr = username@163.com';
//登陆
$url = 'http://reg.163.com/logins.js...
← Continue Reading
用Gvim建立IDE编程环境 (Windows篇)
说明:本文是作者在完全按照著名的《手把手教你把Vim改装成一个IDE编程环境》一文,在Windows XP上用gvim建立IDE环境时所作的备忘。
原作地址:http://blog.csdn.net/wooin/archive/2007/10/31/1858917.aspx。
0.准备软件及插件。
(a)gvim72.exe 地址。
(b)vi...