收藏
回答

求助,有没有PHP调用图片安全接口imgSecCheck的demo?

求一个PHP调用图片安全接口imgSecCheck的demo

回答关注问题邀请回答
收藏

1 个回答

  • 胃里养了只霸王龙
    胃里养了只霸王龙
    2020-11-04
    https://www.cnblogs.com/xinxinmifan/p/9722876.html
    
    2020-11-04
    有用 1
    回复 9
    • 萧დ
      萧დ
      2020-11-04
      您好,我问一下文字检测不管发什么一直返回“errcode:0”,还有file_get_contents($img)里的$img是小程序端返回的那个图片的临时路径吗
      2020-11-04
      回复
    • 胃里养了只霸王龙
      胃里养了只霸王龙
      2020-11-04回复萧დ
      大大
      2020-11-04
      回复
    • 萧დ
      萧დ
      2020-11-04回复胃里养了只霸王龙
      怎么看是不是utf-8的,还有第二个问题报“file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known”该怎么解决
      2020-11-04
      回复
    • 萧დ
      萧დ
      2020-11-04回复胃里养了只霸王龙
      哪个地址?我把$img的值换成了一个可以访问到的图片地址他就不报那个错误了,报file_put_contents(): open_basedir restriction in effect. File(/dev/shm/tmp1.png) is not within the allowed path(s): (/www/wwwroot/zoyx.rssic.cn/:/tmp/:/proc/)😟
      2020-11-04
      回复
    • 胃里养了只霸王龙
      胃里养了只霸王龙
      2020-11-04回复萧დ
      第二个问题没遇到过。我是使用的云开发实现的。
      2020-11-04
      回复
    查看更多(4)
登录 后发表内容
问题标签