2010年4月7日

PHP利用smarty生成静态页详解

摘要: 一,PHP脚本与动态页面。  PHP脚本是一种服务器端脚本程序,可通过嵌入等方法与HTML文件混合,也可以类,函数封装等形式,以模板的方式对用户请求进行处理。无论以何种方式,它的基本原理是这样的。由客户端提出请求,请求某一页面 -----> WEB服务器引入指定相应脚本进行处理 -----> 脚本被载入服务器 -----> 由服务器指定的PHP解析器对脚本进行解析形成HTML语言... 阅读全文

posted @ 2010-04-07 01:43 暮光青年 阅读(802) 评论(0) 推荐(0) 编辑

2010年4月4日

隐藏网页文件的后缀(IIS测试通过)!

摘要: 网上很多网站会看到如这样的地址:/content?act=add&id=1/column?act=edit&id=2原本是/content.asp?act=add&id=1/column.asp?act=edit&id=2这样的效果就是在iis上做了下手脚,使用了rewrite重写组件,就可以实现。rewrite.rar 阅读全文

posted @ 2010-04-04 02:31 暮光青年 阅读(2676) 评论(0) 推荐(0) 编辑

2009年12月1日

使用CSS让DIV水平垂直居中的方法。

摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<html><head><title>DIV水平垂直居中</title><style>body{font-size:12px; marg... 阅读全文

posted @ 2009-12-01 19:03 暮光青年 阅读(2750) 评论(5) 推荐(1) 编辑

showModalDialog基本操作-父子窗口互传参数

摘要: 父窗口代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DT... 阅读全文

posted @ 2009-12-01 18:44 暮光青年 阅读(432) 评论(0) 推荐(0) 编辑

2009年11月30日

使用jquery的ajax,轻松从纯真网(cz88.net)获取IP地址对应地区名

摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<html><head><title>jquerydemo</title><scripttype="text/javascript"src="... 阅读全文

posted @ 2009-11-30 22:16 暮光青年 阅读(589) 评论(0) 推荐(1) 编辑

使用jQuery简化ajax操作

摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<%@PageLanguage="C#"ContentType="text/html"ResponseEncoding="gb2312"%><scriptrunat="server"... 阅读全文

posted @ 2009-11-30 22:12 暮光青年 阅读(251) 评论(0) 推荐(0) 编辑

导航