您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息
三六零分类信息网 > 德州分类信息网,免费分类信息发布

php文件系统函数问题!

2025/6/22 9:03:12发布5次查看
php
我要在1.php上怎么写才能在log.txt上$msg里输出的是person.php的结果,就是把那个('调入文件成功')改为那个person.php的结果
//1.php
>> '.$msg.\r\n;
file_put_contents($logfile,$msg,file_append );
require_once('person.php');
}
writelog('调入文件成功');
?>
//person.php
name = $name;
$this->age = $age;
}
function show() {
echo my name is .$this->name. ;
}
}
$sxd=new person();
$sxd->name=sxd;
$sxd->age=22;
$sxd->show();
echo age is .$sxd->age;
?>
德州分类信息网,免费分类信息发布

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product