上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 25 下一页
摘要: Syntax: RewriteRule Pattern Substitution [flags]  一条RewriteRule指令,定义一条重写规则,规则间的顺序非常重要。对Apache1.2及以后的版本,模板(pattern)是一个POSIX正则式,用以匹配当前的URL。当前的URL不一定是用记最初提交的URL,因为可能用一些规则在此规则前已经对URL进行了处理。  对mod_rewrite来说,!是个合法的模板前缀,表示“非”的意思,这对描述“不满足某种匹配条件”的情况非常方便,或用作最后一条默认规则。当使用!时,不能在模板中有分组的通配 阅读全文
posted @ 2011-02-22 13:13 Jake.Xu 阅读(279) 评论(0) 推荐(0) 编辑
摘要: windows下apache配置虚拟主机方法一:对httpd.conf进行设置:1.注释以下三行#ServerAdmin#ServerName#DocumentRoot2.去掉mod_proxy.so和mod_proxy_ajp.so的注释3.#Virtual hosts#Include conf/extra/httpd-vhosts.conf (查找这行,把前面的#去掉)4.打开 /conf/extra/httpd-vhosts.conf#192.168.1.24为本地IpNameVirtualHost 192.168.1.24:80<VirtualHost 192.168.1.24: 阅读全文
posted @ 2011-02-22 09:42 Jake.Xu 阅读(173) 评论(0) 推荐(0) 编辑
摘要: http://www.tsingfeng.com/ 阅读全文
posted @ 2011-02-21 15:12 Jake.Xu 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1.A Form of Madness2.How to Build Cross-Browser HTML5 Forms/ E2 N( Y6 [3 Fg3.Have a Field Day with HTML5 Forms4.Fun with HTML5 FormsCSS 代码:1.Styling a Simple Form using CSS32.Using CSS3 to style forms... 阅读全文
posted @ 2011-02-21 10:55 Jake.Xu 阅读(2900) 评论(0) 推荐(0) 编辑
摘要: 1.HTML5 & CSS3 Readiness2.HTML5 Security Cheatsheet3.Button Maker4.When can I use…5.CSS3 Color Names6.CSS3 Generator7.Modernizr8.The HTML5 test9.CSS Border Radius10.FindMeByIP11.CSS3 Gradient Generato... 阅读全文
posted @ 2011-02-21 10:35 Jake.Xu 阅读(275) 评论(0) 推荐(0) 编辑
摘要: Question:I get the following error in Chrome's developer tools window when I try to set a cookie usingthisjQuery plugin:Uncaught Error: SECURITY_ERR: DOM Exception 18What does this error mean and how can I fix it? I get the same error when I usethisjQuery plugin.Answer:You're most likely using this 阅读全文
posted @ 2011-02-17 12:42 Jake.Xu 阅读(4124) 评论(0) 推荐(0) 编辑
摘要: jCarousel 是个非常好看又好用的内容滚动切换插件,可以实现按序水平或垂直方向的内容列表的切换。滚动切换的内容可以是静态的HTML内容,也可以是JS的对象列表,也可以是利用AJAX技术动态载入的内容。使用方法 使用此插件,需要在<head>标签内引入jQuery库,jCarousel源文件和CSS样式等:jCarousel在HTML文档中使用一个非常简单的HTML标记结构:jCarousel自动生成需要的HTML标记内容。class属性标明jCarousel使用的"name"名称的外观。应用jCarousel,需要在<head>标记内增加以下代码:jCarou 阅读全文
posted @ 2011-02-17 09:33 Jake.Xu 阅读(11353) 评论(0) 推荐(0) 编辑
摘要: http://www.phpchina.com/resource/manual/css/rdl_index.html属性(Properties)版本(Version)兼容性(Compatibility)简介(Description)文本属性 Text Propertiestext-indentCSS1IE4+ , NS4+检索或设置对象中的文本的缩进。text-overflowIE专有属性IE6+设置或检索是否使用一个省略标记(...)标示对象内文本的溢出。vertical-alignCSS1/CSS2IE4+ , NS4+设置或检索对象内容的垂直对其方式。text-alignCSS1IE4+ 阅读全文
posted @ 2011-02-14 14:47 Jake.Xu 阅读(1059) 评论(0) 推荐(0) 编辑
摘要: imagecopyresized()所生成的图像比较粗糙但速度快imagecopyresampled()对图像重新采样resampling,采用插值算法生成更平滑的图像,但速度慢(GD2.x新增) 阅读全文
posted @ 2011-02-14 10:33 Jake.Xu 阅读(391) 评论(0) 推荐(0) 编辑
摘要: GD and Image 函数gd_infogetimagesizeimage_type_to_extensionimage_type_to_mime_typeimage2wbmpimagealphablendingimageantialiasimagearcimagecharimagecharupimagecolorallocateimagecolorallocatealphaimagecoloratimagecolorclosestimagecolorclosestalphaimagecolorclosesthwbimagecolordeallocateimagecolorexactima 阅读全文
posted @ 2011-02-14 09:31 Jake.Xu 阅读(234) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 25 下一页