• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






simplyman7

 
 

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

2011年1月23日

struts2笔记 test
摘要: 阅读全文
posted @ 2011-01-23 13:52 simplyman7 阅读(91) 评论(0) 推荐(0)
 
foreach输出对象的所有属性
摘要: class myClass{ public $a = "5"; public $b = "7"; public $c = "9"; function __tostring(){ return(var_export($this,TRUE)); } } $x = new myclass();foreach($x as $attribute){ echo $attribute."br /";} ... 阅读全文
posted @ 2011-01-23 13:48 simplyman7 阅读(307) 评论(0) 推荐(0)
 
php __set 和__get函数
摘要: class classname { public $attribute; function operation($param){ $this-attribute = $param; echo $this-attribute; } function __construct(){ echo "constructor called "; } function __get($name){ return... 阅读全文
posted @ 2011-01-23 13:48 simplyman7 阅读(199) 评论(0) 推荐(0)
 
php __call($method,$p)函数
摘要: class overload{ public function __call($method,$p){ if($method == "display"){ if(is_object($p[0])){ $this-displayObject($p[0]); }else if (is_array($p[0])){ $this-displayArray($p[0]); }else { $this-... 阅读全文
posted @ 2011-01-23 13:43 simplyman7 阅读(261) 评论(0) 推荐(0)
 

2011年1月22日

win7下的php
摘要: win 7下的php 第一天 (1)下载安装工具 wampServer (2)排除obstacle, 先关闭iis 1)关闭iis服务 iisadmin2)关闭iis下的虚拟主机实例,默认的网站(中间现实一个IIS的大jpg图像,指向iis.net),win7下 “控制面板” - “管理工具” “IIS管理器” 删除应用即可。 如果使用端口查看器,会发现,80端口被系统所占用了,尽管进程选项中... 阅读全文
posted @ 2011-01-22 22:00 simplyman7 阅读(154) 评论(0) 推荐(0)