ubuntu 12.04自带的php版本是5.3.x的,不支持explode(...)[]的语法,故升级到5.4.x。aptitude install python-software-propertiesadd-apt-repository ppa:ondrej/php5-oldstableapti...
分类:
Web程序 时间:
2014-06-20 17:02:21
阅读次数:
316
做一个项目,涉及到记录下当前页面的鼠标坐标,并发送给后台。有两个步骤,一步是记录下鼠标坐标并发送后台,二步是当鼠标离开页面时停止发送数据。记录下鼠标坐标并发送的代码,如下:// 用sta字符串记录下鼠标的坐标var sta = ''; function changeXY(){ $...
分类:
其他好文 时间:
2014-06-20 16:52:36
阅读次数:
229
ubuntu 12.04自带的php版本是5.3.x的,不支持explode(...)[]的语法,故升级到5.4.x。aptitude install python-software-propertiesadd-apt-repository ppa:ondrej/php5-oldstableapti...
分类:
Web程序 时间:
2014-06-20 15:22:35
阅读次数:
340
做一个项目,涉及到记录下当前页面的鼠标坐标,并发送给后台。有两个步骤,一步是记录下鼠标坐标并发送后台,二步是当鼠标离开页面时停止发送数据。记录下鼠标坐标并发送的代码,如下:// 用sta字符串记录下鼠标的坐标var sta = ''; function changeXY(){ $...
分类:
其他好文 时间:
2014-06-20 15:12:12
阅读次数:
154
.tablel{border-collapse:collapse; /* 关键属性:合并表格内外边框(其实表格边框有2px,外面1px,里面还有1px哦) */border:solid #999; /* 设置边框属性;样式(solid=实线)、颜色(#999=灰) */border-width:1p...
分类:
Web程序 时间:
2014-06-20 14:56:37
阅读次数:
426
需要安装的有:devel,client,server1、首先要看看有没有已经安装好的MySQL,以免产生冲突# rpm -qa | grep MySQL2、卸载冲突的版本# rpm -e MySQL-version //要先后卸载客服端和服务器端3、安装MySQL客服端和服务器端rpm安装,根据要安...
分类:
数据库 时间:
2014-06-20 14:44:30
阅读次数:
277
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2014-06-20 14:43:53
阅读次数:
137
A(Phone Number)1.暴力 #include #include #include #include #include using namespace std;int cmp(const void *a,const void *b){ return strcmp((char *)a...
分类:
其他好文 时间:
2014-06-20 14:41:04
阅读次数:
139