replyThanks for the reply, sir. The image is generated now, but it cannot be displayed on the page. It is only displayed on the network. Try ob_clean(); later.
replyBoss, I tried ob_clean(); but it didn’t work either. The image is now generated, but it cannot be displayed on the page. It is only displayed on the network.
Use realpath() for the font path to convert the relative path to an absolute path
Is the font font file not found? Where can I find the font files?
https://www.php.cn/php-ask-482565.html
The hyperlink on the page has disappeared, please add it.
How to implement image verification code in php