我最近需要制作一个 PHP 文件从页面中获取文本并显示它,但我不知道该怎么做。
我当前的代码是:
$results["registeredname"] = "here shall be the domain";
$results["productname"] = "this shall be fetched";
$results["productid"] = "5";
$results["billingcycle"] = "Monthly";
$results["validdomains"] = $this->getHostDomain();
$results["validips"] = $this->getHostIP();
$results["validdirs"] = $this->getHostDir();
$results["checkdate"] = Carbon::now()->toDateString();
$results["version"] = "this shall be fetched";
$results["regdate"] = "this shall be fetched";
$results["nextduedate"] ="this shall be fetched";;
$results["addons"] = array(array('name' => 'Branding Removal', 'nextduedate' => "this shall be fetched";', 'status'
任何建议都很好!
慕慕森