摘要: 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 阅读(637) 评论(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 阅读(557) 评论(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 阅读(474) 评论(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 阅读(529) 评论(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 阅读(390) 评论(0) 推荐(0) 编辑
摘要: Youwill not be tested on database specific code*InTheory* In reality many cross database experts have stated a beliefthat the exam has a MySQL base.Abasic understanding of SQL and it’s concepts ... 阅读全文
posted @ 2010-06-29 17:27 DavidHHuan 阅读(492) 评论(0) 推荐(0) 编辑
摘要: Forms.GET vs POST. Form Tokens. Default Values. Re-populatingdata.superglobalarray$_GET[]$_POST[]WhenYou Don’t Know How Data Is Sent$_REQUEST[]filledin using data from different sources in an or... 阅读全文
posted @ 2010-06-29 17:26 DavidHHuan 阅读(452) 评论(0) 推荐(0) 编辑
摘要: XML Well Formed– Single rootlevel tag– Tags must beopened and closed properly– Entities mustbe well formed Valid– Well formed– Contain a DTD– Follow thatDTDParsin... 阅读全文
posted @ 2010-06-29 17:25 DavidHHuan 阅读(526) 评论(0) 推荐(0) 编辑
摘要: Two types of streams:One group provides access to a certain type ofstream resource; the standard PHP distribution includes several builtin examples:• php.*—standard PHP input/output•fi... 阅读全文
posted @ 2010-06-29 17:24 DavidHHuan 阅读(508) 评论(0) 推荐(0) 编辑
摘要: Stringsare the most commonly used variable type in PHP, because they areboth central to web development, and the common method of datatransmission from the user.Withinstrings many characters take a sp... 阅读全文
posted @ 2010-06-29 17:22 DavidHHuan 阅读(527) 评论(0) 推荐(0) 编辑
摘要: PHPBasicsPHPBasics refers to a number of things thatarelikely already second nature to you:–Syntax–Operators–Variables–Constants–Control StructuresLanguageConstructs and ... 阅读全文
posted @ 2010-06-29 17:21 DavidHHuan 阅读(496) 评论(0) 推荐(0) 编辑
摘要: The actual examis very easy; it should not difficult for any php user who hascertain level of php development experience. I hope these series oflectures on ZCE can help you prepare, attend and pass t... 阅读全文
posted @ 2010-06-29 17:20 DavidHHuan 阅读(591) 评论(0) 推荐(0) 编辑
摘要: NOTE : The answers That I am NOT sure are marked with "*"Useful website: http://zend-php.appspot.com/81. Consider the following code-snippet, which is taken from a larger application:<?phpfor(/* em... 阅读全文
posted @ 2010-06-29 17:15 DavidHHuan 阅读(6721) 评论(0) 推荐(0) 编辑
摘要: NOTE : The answers That I am NOT sure are marked with "*"Useful website: http://zend-php.appspot.com/1. What is the best way to ensure the distinction between filtered / trusted and unfiltered / untru... 阅读全文
posted @ 2010-06-29 17:14 DavidHHuan 阅读(5913) 评论(0) 推荐(0) 编辑
摘要: 我的主操作系统是Ubuntu 10.04,有一个分区是NTFS,现在想在VirtualBox OSE里面安装一个Windows XP,并可使用主机的NTFS分区。My virtualbox is running under Ubuntu 10.04, and I install Windows XP in it. And also, I have a disk partition formatte... 阅读全文
posted @ 2010-06-29 14:32 DavidHHuan 阅读(563) 评论(0) 推荐(0) 编辑