search
Homephp教程php手册email address 生成图片程序

email address 生成图片程序

Jun 13, 2016 am 10:31 AM
addressemailindex.phpDownmainstreampictureopenBundledocumentnowgenerateprogram

把下面的文件保存为index.php(做为现在的主流开发语言)


/*
MailX Managment System 0.8 Beta
*/
header("Content-type:image/png");
$mailaddress=$_GET[mailname];
$mailaddresslen=strlen($mailaddress);
$mailaddressimages=imagecreate($mailaddresslen*10,25);
$lenadd=$mailaddresslen;
$fontsize="4";
$center=(imagesx($mailaddressimages)-8.3*strlen($mailaddress))/2;
$mailimagesbackground=ImageColorAllocate($mailaddressimages,231,196,43);
$mailimagesfacecolor=ImageColorAllocate($mailaddressimages,0,0,0);
ImageString($mailaddressimages,$fontsize,$center,5,$mailaddress,$mailimagesfacecolor);
Imagepng($mailaddressimages); 
ImageDestroy($mailaddressimages);
?>


把下面的文件保存为index.html


(标准化越来越近了)ns="http://www.w3.org/1999/xhtml" />


Welcome to domain.com









(parallels的虚拟行平台) 1 lz 1 oz 1 cz 1) gen true for "http://www.domain.com" r (nz 1 vz(parallels的虚拟行平台) 1 lz 1 oz 1 cz 1)) />







You email:

然后把两个文件放在同一个目录就可以了.

这个程序主要是.
通过get获取值后生成.
一个图片格式的email地址.
主要是为了防止email搜索软件抓取email地址.

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor