dpfw3607 2012-11-20 11:55
浏览 51

phpqrcode图像无法识别为活动网址

I made a PHP script that takes severall URLs from a database and outputs QrCodes using the phpQrCode Library.

Qr codes are output in an eps file and printed on handouts by our printing services.

This much is working fine, but some of the QR codes when read on my phone take me to the page directly, but some only give methe URL of the page as a string.

  • 写回答

1条回答 默认 最新

  • douzheren3349 2013-03-19 18:04
    关注

    The OP was able to find the solution to his own problem. It was:

    My users have left a space in the beginning of the string when pasting the URL so the library is doing just what it is supposed to, I will be using some ltrim and rtrim to fix this.

    评论

报告相同问题?

悬赏问题

  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 lammps拉伸应力应变曲线分析
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试,帮帮忙吧
  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建