我利用phpqrcode在页面生成了一个二维码,但是页面上面的title显示的是“index.php (462×462)”,这个类文件是在那个地方设置的呀,我直接在后面写的html代码,自己定义的title也不好使,求教解决
How to set the title of the page using phpqrcode to generate the QR code-PHP Chinese website Q&A-How to set the title of the page using phpqrcode to generate the QR code-PHP Chinese website Q&A
Take a look around and learn.
此时的 index.php 已经被声明成了图片资源,浏览器又怎么去解析HTML代码。
你应该多写一个文件,譬如 qrcode.php 页面负责生成二维码。
在需要调用的页面中,譬如 index.php 里写HTML代码
<img src='qrcode.php' />
How to set the title of the page using phpqrcode to generate the QR code-PHP Chinese website Q&A-How to set the title of the page using phpqrcode to generate the QR code-PHP Chinese website Q&A
Take a look around and learn.
此时的 index.php 已经被声明成了图片资源,浏览器又怎么去解析HTML代码。
你应该多写一个文件,譬如 qrcode.php 页面负责生成二维码。
在需要调用的页面中,譬如 index.php 里写HTML代码