下载PHPExcel至vendor下一个在public\index.php加拿大require './vendor/Classes/PHPExcel.php';之后就能够在不论什么地方按例如以下使用:use PHPExcel;$objPHPExcel = new PHPExcel();如遇到Fata...
分类:
Web程序 时间:
2015-07-07 16:25:21
阅读次数:
242
A classic interview question. This link has a nice explanation of the idea using two stacks and its amortized time complexity.I use the same idea in m...
分类:
其他好文 时间:
2015-07-07 12:33:18
阅读次数:
102
Let's create a simple website by django ...step01:django-admin startproject x01step02:cd x01lsYou will see ...or you can use tree:treestep03:write the...
分类:
其他好文 时间:
2015-07-07 12:32:11
阅读次数:
109
-- Ensure a USE statement has been executed first.SET NOCOUNT ON;DECLARE @objectid int;DECLARE @indexid int;DECLARE @partitioncount bigint;DECLARE @s....
分类:
数据库 时间:
2015-07-07 11:05:52
阅读次数:
123
/* * Copyright (c) 1997-1999 * Silicon Graphics Computer Systems, Inc. * * Permission to use, copy, modify, distribute and sell this software * and it...
分类:
其他好文 时间:
2015-07-07 09:21:11
阅读次数:
182
---------------------------错误---------------------------Opened report contains the following non-plugged components:TRMAsBarCodeViewUse appropriate co...
分类:
移动开发 时间:
2015-07-07 08:16:34
阅读次数:
330
错误如下:[root@hpf-linux~]#mke2fs-text3-b2048-m3/dev/sdb5
mke2fs1.41.12(17-May-2010)
/dev/sdb5isapparentlyinusebythesystem;willnotmakea文件系统here!提示/dev/sdb5正在被使用。/dev/sdb5正在被DM管理,所以我们创建文件系统时提示报错,我们手工的移除,就可以正常的..
分类:
移动开发 时间:
2015-07-06 20:06:49
阅读次数:
158
说明:代码来源《PHP和MySQL Web应用开发》一书,还有就是代码有些是经过修改的,经过我的测验全部都可以用这是数据库部分代码//创建数据库create database MySQLDB;//使用数据库use mysqldb;//向数据库中插入表格create table Employees(E...
分类:
数据库 时间:
2015-07-06 19:43:33
阅读次数:
182
这近网站中毒,以下把IIS安全设置记录一下,以便查阅。1、对于不需要执行的目录,将处理程序映射中的编辑功能权限中的脚本去掉,这样即使上传了木马文件在此目录,也是无法执行的。删除IIS默认的匿名用户。 先见一个用户,用户名已IIS开头,以后看到这个用户名就知道是IIS用户,这个用户隶属于IIS_USE...
分类:
其他好文 时间:
2015-07-06 17:37:01
阅读次数:
84
> use mongo_test //创建数据库
switched to db mongo_test
> db.createCollection("test") //创建表 就是集合
{ "ok" : 1 }
> db.
db.addUser( db.group(
db.adminCommand( db.gr...
分类:
数据库 时间:
2015-07-06 16:08:58
阅读次数:
141