2014年7月12日
摘要:
port="8485"是没被占用的端口号。
阅读全文
posted @ 2014-07-12 12:19
北海盗
阅读(152)
推荐(0)
2014年5月26日
摘要:
装在虚拟机上的Linux一、挂载U盘 1,首先确认你的U盘是FAT格式的 2.在终端用Fdisk -l命令查看磁盘设备。 3.并且用mkdir命令建一目录来挂载U盘,一般是mkdir /mnt/usb 4 将...
阅读全文
posted @ 2014-05-26 15:16
北海盗
阅读(713)
推荐(0)
2014年5月21日
摘要:
Win7+VMware Workstation环境下的CentOS-Linux网络连接设置http://blog.sciencenet.cn/blog-430991-507041.html近日因学习需要尝试安装Linux开源操作系统,当然是在虚拟机环境下安装,选择的Distribution是Cent...
阅读全文
posted @ 2014-05-21 10:24
北海盗
阅读(385)
推荐(0)
2014年4月15日
摘要:
#include "stdio.h"#include用下列公式即可得到指定范围[m,n]的随机数:r = rand()%(n - m + 1) + m;eg:15—30之间得到一个随机数#include #include #include /*用到了time函数,所以要有这个头文件*/ int m...
阅读全文
posted @ 2014-04-15 22:50
北海盗
阅读(387)
推荐(0)
2014年3月12日
摘要:
SQL 查询:-- phpMyAdmin SQL Dump-- version 3.5.1-- http://www.phpmyadmin.net---- 主机: localhost-- 生成日期: 2013 年 11 月 16 日 14:17-- 服务器版本: 5.5.24-log-- PHP 版本: 5.4.3SETSQL_MODE="NO_AUTO_VALUE_ON_ZERO";SETtime_zone="+00:00";MySQL 返回:#1064 - You have an error in your SQL syntax; check the
阅读全文
posted @ 2014-03-12 20:50
北海盗
阅读(559)
推荐(0)
摘要:
一、修改php.ini中下面代码;extension=php_mbstring.dll改为extension=php_mbstring.dll;mbstring.func_overload = 0修改为:mbstring.func_overload = 7
阅读全文
posted @ 2014-03-12 19:33
北海盗
阅读(176)
推荐(0)
摘要:
安装好wamp,但是图片没有变绿,大部分原因是80端口被占用。修改端口号:可以从文件httpd.conf将# Change this to Listen on specific IP addresses as shown below to# prevent Apache from glomming onto all bound IP addresses.##Listen 12.34.56.78:80Listen 80改为:#Listen 12.34.56.78:8080Listen 8080restart all services ,OK!
阅读全文
posted @ 2014-03-12 19:32
北海盗
阅读(271)
推荐(0)
2014年3月11日
摘要:
矩形:shape="rectangle",coords="x1,y1,x2,y2"第一个坐标是矩形的一个角的顶点坐标,另一对坐标是对角的顶点坐标,"0,0" 是图像左上角的坐标。请注意,定义矩形实际上是定义带有四个顶点的多边形的一种简化方法。
阅读全文
posted @ 2014-03-11 17:06
北海盗
阅读(187)
推荐(0)
摘要:
报错:Strict standards: Redefining already defined constructor for class SplitWord in D:\wamp\www\wsc\include\pub_splitword_www.php on line42解决方法:把:D:\wamp\www\wsc\include\pub_splitword_www.php on line42 中的 function SplitWord($loaddic=true){ $this->__construct($loaddic); }注释掉。问题解决,方法来源于:http://txji.
阅读全文
posted @ 2014-03-11 16:30
北海盗
阅读(342)
推荐(0)
摘要:
wamp报错SCREAM:Error suppression ignored for问题:SCREAM:Error suppression ignored for解决:在php.ini最下面加入scream.enabled = Off转自:[http://www.cnblogs.com/mafeifan/p/3199472.html]
阅读全文
posted @ 2014-03-11 16:23
北海盗
阅读(2565)
推荐(0)