有时想休息一下,但脑袋里总是有很多的事情在闹,烦心。
下周,或者要下周的下周,要找个周末睡一天懒觉,出门晒一天太阳了。
//1.4 Element.toggle(elem1 [, elem2 [, elem3 [...]]]) // instance elemN: element object or id Toggles the visibility of each passed element. //1.5版本不再支持多参数 Element.toggle(element) // instance element: element object or id Toggles the visibility of the element.
if (get_magic_quotes_gpc()) { // check magic_quotes_gpc state
function strip_quotes(&$var) {
if (is_array($var)
array_walk($var, 'strip_quotes');
else
$var = stripslashes($var);
}
// Handle GPC
foreach (array('GET','POST','COOKIE') as $v)
if (!empty(${"_".$v}))
array_walk(${"_".$v}, 'strip_quotes');
// Original file names may contain escaped data as well
if (!empty($_FILES))
foreach ($_FILES as $k => $v) {
$_FILES[$k]['name'] = stripslashes($v['name']);
}
if (get_magic_quotes_gpc()) {
$in = array(&$_GET, &$_POST, &$_COOKIE);
while (list($k,$v) = each($in)) {
foreach ($v as $key => $val) {
if (!is_array($val)) {
$in[$k][$key] = stripslashes($val);
continue;
}
$in[] =& $in[$k][$key];
}
}
unset($in);
}
== Reflection API ==
ReflectionException
Reflection
ReflectionFunction
ReflectionParameter
ReflectionMethod
ReflectionClass
ReflectionObject
ReflectionProperty
ReflectionExtension
== SQLLite ==
SQLiteDatabase
SQLiteResult
SQLiteUnbuffered
SQLiteException
== Standard PHP Lib. ==
RecursiveIteratorIterator
FilterIterator
ParentIterator
LimitIterator
CachingIterator
CachingRecursiveIterator
ArrayObject
ArrayIterator
DirectoryIterator
RecursiveDirectoryIterator
== SimpleXML ==
SimpleXMLElement
SimpleXMLIterator
== DOM/XSL/XPath extensions ==
DOMException
DOMStringList
DOMNameList
DOMImplementationList
DOMImplementationSource
DOMImplementation
DOMNode
DOMNameSpaceNode
DOMDocumentFragment
DOMDocument
DOMNodeList
DOMNamedNodeMap
DOMCharacterData
DOMAttr
DOMElement
DOMText
DOMComment
DOMTypeinfo
DOMUserDataHandler
DOMDomError
DOMErrorHandler
DOMLocator
DOMConfiguration
DOMCdataSection
DOMDocumentType
DOMNotation
DOMEntity
DOMEntityReference
DOMProcessingInstruction
DOMStringExtend
DOMXPath
XSLTProcessor
select Article.* from articles as Article ; select * from tags as Tag left join articles_tags on articles_tags.article_id = 1 AND articles_tags.tag_id = Tag.id; select * from tags as Tag left join articles_tags on articles_tags.article_id = 2 AND articles_tags.tag_id = Tag.id; #.....
很不好意思,上面的代码我手写的,不是直接copycake生成的代码(生成的query太长了。)关系误写成了left join,实际上是join。这个错误给老王造成了不少麻烦,在这里向他道歉了。
$articleMode->findAll("Tag.name='$tag'"); #没有Tag表联立,SQL语句错误
$tagModel->findAll('Tag.name'); # 将没有limit可以设置,不能翻页到第二页
海外华人设计师访谈-雅虎欧洲设计师王小丹
Handling UTF-8 with PHP
OpenID介绍与使用指南(附支持服务商)
2006 Open Source Content Management System Award Winner Announced
CVSDude: Professional CVS Hosting and Subversion Hosting
基金入门系列-持续更新中!
bash编程教学实例
Error-Handing Techniques
KStars is a Desktop Planetarium for KDE. It provides an accurate graphical simulation of the night sky, from any location on Earth, at any date and time. The display includes 130,000 stars, 13,000 deep-sky objects, all 8 planets, the Sun and Moon, and thousands of comets and asteroids.
Two picture followed:

Figure 1: The sky for current time (13:01:40) in Shanghai, And I can see the Sun above my header.

Figure 2: The sky for this night time(04:09:56), And the Moon is the focus.

Figure 3: My constellation: PISCES.
(Page 1 of 2, totaling 26 entries)