the verify verification code included in tp is displayed normally on the qq browser, but not in browsers such as chrome/firefox. The following figure and code
QQ browser is as follows
chrome/firefox
html partial code:
<img id="verify_img" alt="" title="" src="{:U("prize/verify")}" class="m">
php partial code
public function verify(){
$config = [
"fontSize" => 25, //
"length" => 4, //
// "imageW" => 200,
// "imageH" => 70,
"useNoise" => false,
"useCurve" => false,
"codeSet" => "123456789",
];
$Verify = new Verify($config);
$Verify->entry();
}