search

Home  >  Q&A  >  body text

利用phpqrcode生成二维码页面的title怎么设置

我利用phpqrcode在页面生成了一个二维码,但是页面上面的title显示的是“index.php (462×462)”,这个类文件是在那个地方设置的呀,我直接在后面写的html代码,自己定义的title也不好使,求教解决

一辆想出轨的无轨电车一辆想出轨的无轨电车2916 days ago837

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-10-01 00:32:49

    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.

    reply
    0
  • 巴扎黑

    巴扎黑2017-02-27 15:42:52

    此时的 index.php 已经被声明成了图片资源,浏览器又怎么去解析HTML代码。

    你应该多写一个文件,譬如 qrcode.php 页面负责生成二维码。

    在需要调用的页面中,譬如 index.php 里写HTML代码

    <img src='qrcode.php' />


    reply
    0
  • Cancelreply