它是一个用来生成图像缩略图的 PHP 类,支持包括 GIF、JPG 和 PNG 格式图片。支持图像的处理功能包括:
调整大小,裁剪,旋转,翻转,另存为,阴影,水印,边框,锐化,模糊,水波纹,反射镜等等。
继续阅读 EasyPhpThumbnail 2.0.6 – PHP5 中文API
日度归档:2013-08-20 周二
使用PHP农历与公历互相转换类 ,主要实现了由公历计算农历 、由农历转公历等功能,通过这个类可以将单个日期转换公历或农历,同样支持整个月份的转换,即给定一个公历月份计算农历。(注:此类支持的年份范围是 1891年~2100年,如果超出此范围的年份将无法转换。此日期转换类暂时未实现节气和中国节假日。)
默认最小处理年份:1891
默认最大处理年份:2100 继续阅读 PHP农历与公历互相转换类
下列常量作为 PHP 核心的一部分总是可用的。
Note: 你可以使用它们在 php.ini 中的常量名称; 但是在PHP之外,例如在 httpd.conf 之中, 你必须使用二进制位掩码来代替。 继续阅读 PHP错误处理 预定义常量
PHP is not limited to outputting html. PHP can output images, pdf, javascript files, etc. Browsers determine what type of content is by analyzing the headers sent. In this tutorial I will present you with some examples of how to send headers. To send PHP header use the function header(). You must call this function before any output. Use the function headers_sent() to check whether the headers have been sent and output started. 继续阅读 php常用的header:301,302, Redirects, 404, Javascript, Download, Authentication dialog Headers
photo by Alex Robertson
有三样东西有助于缓解生命的辛劳:希望、睡眠和笑。 —— 康德
引自:喷嚏意图 http://www.dapenti.com/blog/more.asp?name=tupian&id=78749
有些时候,正好在工作或休闲的途中,我的灵魂被惯有的坏脾气所淹没,我感到疲惫,不是对工作或者休闲疲惫,而是对自己感到疲惫。 ——佩索阿
引自:喷嚏意图 http://www.dapenti.com/blog/more.asp?name=tupian&id=78750
photo by Christian Coigny
等待有把握时再去做一件事,往往意味着永远的等待。
引自:喷嚏意图 http://www.dapenti.com/blog/more.asp?name=tupian&id=64797