上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 30 下一页
摘要: By default, we can put the static pages in protected/views/site/pages.For example, I put the static "about.php" in protected/views/site/pages.The way of Yii to get the current name when to use in menu... 阅读全文
posted @ 2010-07-21 22:49 DavidHHuan 阅读(373) 评论(0) 推荐(0)
摘要: I have a default site with url www.example.com, and now I want to build another subsite with subdomain mysite.example.com.1. Set the folder of the submain.Create a folder mysite.example.com under site... 阅读全文
posted @ 2010-07-21 17:29 DavidHHuan 阅读(332) 评论(0) 推荐(0)
摘要: When I use this extension of ezXML Export, I found that when the content contains &, the xml can be exported but can't open.Then i Found that the type of the attribute is a text line, and in the c... 阅读全文
posted @ 2010-07-16 16:57 DavidHHuan 阅读(287) 评论(0) 推荐(0)
摘要: 1. You have to install the swark extension.2. Below I want to change the $view_parameters.offset to 10 in the template.[代码] 阅读全文
posted @ 2010-07-12 15:04 DavidHHuan 阅读(280) 评论(0) 推荐(0)
摘要: As the code below, $object is $node.data_map.content.output.output_xml. [代码] 阅读全文
posted @ 2010-07-08 14:54 DavidHHuan 阅读(301) 评论(0) 推荐(0)
摘要: Below we list the core components that are pre-declared byCWebApplication.assetManager: CAssetManager -manages the publishing of private asset files.authManager: CAuthManager - manages role-based acce... 阅读全文
posted @ 2010-07-07 23:04 DavidHHuan 阅读(549) 评论(0) 推荐(0)
摘要: When I want to access a node of eZ via SSL, here are something to be done in my test envirement.1. Modify the setting fileOpen the file "settings/override/site.ini.append.php", add the code below : [代... 阅读全文
posted @ 2010-07-05 17:18 DavidHHuan 阅读(465) 评论(0) 推荐(0)
摘要: 首先,正确来说,不是破解,而是创建一个新的用户。1. 设置电脑为光盘启动,启动ubuntu光盘。2. 选择“试用Ubuntu而不安装”。3. 进入Ubuntu桌面,在顶部菜单栏的“位置”->“XX系统文件”,打开,你就会发现,你进入的是win7的C盘,恭喜,你已经成功了一半了。4. 打开 windows/system32... 阅读全文
posted @ 2010-07-02 09:12 DavidHHuan 阅读(521) 评论(0) 推荐(0)
摘要: Because the Dell Optiplex 380 is too new to Ubuntu, so the drivers of sounds is not really well.After I update the OS from 9.10 to 10.04, there is no sounds!But at last, I found the way to resolve thi... 阅读全文
posted @ 2010-07-01 13:07 DavidHHuan 阅读(980) 评论(0) 推荐(0)
摘要: After I run this command in Ubuntu:[代码]Then I start the lampp[代码]I got the warnning:代码Then I visite the phpmyadmin in the browser with : http://127.0.0.1/phpmyadmin, I also got the error:[代码]The resol... 阅读全文
posted @ 2010-06-30 21:42 DavidHHuan 阅读(354) 评论(0) 推荐(0)
摘要: PHP BasicThe echo() statement operates similarly to print(), except for two differences. First, it cannot be used as part of a complex expression because it returns void, whereas print() returns a Boo... 阅读全文
posted @ 2010-06-29 17:32 DavidHHuan 阅读(656) 评论(0) 推荐(0)
摘要: A. PHP hasa large collection of built in functions to handle strings, we’velooked at strings already, let’s look at different ways to interactwith them in greater detail:strlen(), Returnst... 阅读全文
posted @ 2010-06-29 17:30 DavidHHuan 阅读(568) 评论(0) 推荐(0)
摘要: DesignPattern TheoryDesignPatterns - Some time ago people realized that we were solving thesame problems again and again, they then decided to sit down and comeup with really good solutions to those p... 阅读全文
posted @ 2010-06-29 17:29 DavidHHuan 阅读(484) 评论(0) 推荐(0)
摘要: Defense inDepth.When you plan with defensein depth, you plan for failure. Rather than internal functionsassuming the data they receive is already validated or escaped, theywill check and confirm..Appl... 阅读全文
posted @ 2010-06-29 17:28 DavidHHuan 阅读(537) 评论(0) 推荐(0)
摘要: Prior to PHP5 OOPwas a hack on top of the array implementation. PHP5 Changedeverything, in a great way.Objects are treateddifferently from other types of variables. An object is always passedby refere... 阅读全文
posted @ 2010-06-29 17:28 DavidHHuan 阅读(398) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 30 下一页