philzhou

导航

上一页 1 2 3 4 5 6 ··· 12 下一页

2015年11月3日 #

thinkphp nginx php-fpm url rewrite 导致 404 错误

摘要: ## thinkphp nginx php-fpm url rewrite 导致 404 错误之前thinkphp的系统部署在apache上,考虑到在并发性能nginx比apache强悍得多,所以在centos上以 nginx+php-fpm模式重新部署了thinkphp系统,结果发现诸如 /ind... 阅读全文

posted @ 2015-11-03 00:00 philzhou 阅读(7628) 评论(1) 推荐(1)

2014年2月10日 #

Asp.Net 4.0 FormAuthentication 原理

摘要: 建立一个使用Asp.Net Membership管理登陆登出信息的网站1. 创建一个Asp.Net Mvc 3 示例网站。2. 创建自定义的MemberShipProvider,并在Web.CONFIG中配置生效。a. 创建MyMmbProv 1: public class MyMmbProv ... 阅读全文

posted @ 2014-02-10 21:42 philzhou 阅读(4738) 评论(3) 推荐(0)

2013年12月25日 #

CLASSIC VS INTERGRATED IN IIS 7.0

摘要: Classic mode (the only mode in IIS6 and below) is a mode where IIS only works with ISAPI extensions and ISAPI filters directly. In fact, in this mode, ASP.NET is just an ISAPI extension (aspnet_isapi.... 阅读全文

posted @ 2013-12-25 12:03 philzhou 阅读(456) 评论(0) 推荐(1)

2013年11月29日 #

Expression Tree Basics 表达式树原理

摘要: variable point to code variable expression tree data structure lamda expression anonymous function 原文 Newcomers to LINQ often find expression trees difficult to grasp. In this post I hope to sh... 阅读全文

posted @ 2013-11-29 18:10 philzhou 阅读(751) 评论(0) 推荐(0)

2013年11月18日 #

oracle rownum paging issues

摘要: rownum是oracle预处理字段,默认标序是1,只有记录集已经满足条件后才会进行后续编号。由于第一条记录rownum默认是1,而你的条件是rownum>=6 对第一条记录比较它的rownum肯定不大于6 所以不满足条件 oracle舍弃第一条记录将数据库第二条记录标序为1再进行比较 肯定都不满足rownum>=6 这样循环也就是说由于没有记录满足rownum>=6所以记录一直被舍弃,rownum一直是1 。 排序方法: select * from ( select a1.*, rownum rwn from emp a1 where rownum = 6; 或者... 阅读全文

posted @ 2013-11-18 18:51 philzhou 阅读(345) 评论(0) 推荐(0)

2013年10月17日 #

HTML <!DOCTYPE> Declaration

摘要: Title of the documentThe content of the document...... Definition and Usage The declaration must be the very first thing in your HTML document, before the tag. The declaration is not an HTML tag; ... 阅读全文

posted @ 2013-10-17 18:32 philzhou 阅读(907) 评论(0) 推荐(0)

2013年9月28日 #

ecshop 部署

摘要: 1. 在本地安装好mysql,配好账户密码,启动数据库。 2. 在本地部署ecshop站点,打开网站,按照安装向导配置数据库,网站基本信息。 (其中数据库信息存放在\data\config.php中) 3. 备份好数据库,可以到处成sql语句,也可以直接复制数据库表文件。 4. 将网站,数据库表上传到租用的空间上,配置好config.php的账号信息。 阅读全文

posted @ 2013-09-28 16:58 philzhou 阅读(494) 评论(0) 推荐(0)

去除ecshop版权信息

摘要: 前台部分: 1:去掉TITLE部分的ECSHOP演示站 Powered by ecshop 前者在后台商店设置 - 商店标题修改 后者打开includes/lib_main.php $page_title = $GLOBALS['_CFG']['shop_title'] . ' - ' . 'Powered by ECShop'; 修改这里的'Powered by ECShop 2.去掉友情链接部... 阅读全文

posted @ 2013-09-28 16:41 philzhou 阅读(290) 评论(0) 推荐(0)

2013年9月24日 #

ado.net access oracle dataset via store procedure

摘要: 使用存储过程返回结果集,并绑定到ado.net对象中在sql server里面是非常直观的。 1: create procedure GetAllRecords 2: as 3: select * from dept;存储过程返回一个结果集,然后通过SqlDataAdapter绑定给DataSet。但是在Oracle里面返回结果集存储过程是不可以这样写的,返回的结果集要通过游标来完成的。首先创建一个包,新建一个应用游标类型 1: create or replace package cust_types is 2: type ref_cursor is ref curso... 阅读全文

posted @ 2013-09-24 18:20 philzhou 阅读(370) 评论(0) 推荐(0)

2013年9月13日 #

I can connect to an FTP site but I can't list or transfer files.

摘要: 原文FTP sessions use two network connections:Thecontrol channelis for user authentication and sending commands and ...Thedata channelis for transferring files and directory listings.If you can connect to an FTP server but not transfer files or directory listings, the most likely cause is a blocked dat 阅读全文

posted @ 2013-09-13 17:46 philzhou 阅读(422) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 ··· 12 下一页