hehexu

博客园 首页 新随笔 联系 订阅 管理

2018年1月26日 #

摘要: text/html的意思是将文件的content-type设置为text/html的形式,浏览器在获取到这种文件时会自动调用html的解析器对文件进行相应的处理。 2、text/plain的意思是将文件设置为纯文本的形式,浏览器在获取到这种文件时并不会对其进行处理。 阅读全文
posted @ 2018-01-26 13:50 hehexu 阅读(577) 评论(0) 推荐(0) 编辑

摘要: <?phpclass foo { function foo() { // implements some logic } function name() { echo "My name is " , get_class($this) , "\n"; }}// create an object$bar 阅读全文
posted @ 2018-01-26 09:10 hehexu 阅读(131) 评论(0) 推荐(0) 编辑