2013年1月14日
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh" dir="ltr"><head profile="http:// 阅读全文
posted @ 2013-01-14 16:50 hrc 阅读(935) 评论(0) 推荐(0)
摘要: <?php!defined('IN_DEX') && exit('Forbidden');include R_DIR.'plug/phpmailer/class.phpmailer.php';get_gp(array('user','msg','email'));$email=explode(';',$email);$mail = new PHPMailer(); //实例化$mail->IsSMTP(); // 启用SMTP$mail->Host 阅读全文
posted @ 2013-01-14 02:06 hrc 阅读(163) 评论(0) 推荐(0)
摘要: 3.class Person 4.{ 5.//下面是人的成员属性 6.var $name; //人的名子 7.var $sex; //人的性别 8.var $age; //人的年龄 9.//定义一个构造方法参数为姓名$name、性别$sex和年龄$age 10.function __construct($name, $sex, $age) 11.{ 12.//通过构造方法传进来的$name给成员属性$this->name赋初使值 13.$this->name=$name; 14.//通过构造方法传进来的$sex给成员属性$this->sex赋初使值 15.$this-> 阅读全文
posted @ 2013-01-14 01:34 hrc 阅读(139) 评论(0) 推荐(0)