关于PHP把字符串转成图片的有关问题

WBOY
Release: 2016-06-13 10:32:53
Original
1002 people have browsed it

关于PHP把字符串转成图片的问题
如题.我是想把邮箱地址的字符串转成图片并显示.(为了不在源代码看到邮箱地址)

[email protected]?片并输出显示在

  • 里?

    ------解决方案--------------------
    gd库可以将文字制作成图片,你的需求类似于验证码。
    http://cn.php.net/manual/zh/function.imagestring.php
  • Related labels:
    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!