把下面的文件保存为index.php
%26lt;?
/*
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);
?%26gt;
把下面的文件保存为index.html
%26lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"%26gt;
%26lt;html xmlns="http://www.w3.org/1999/xhtml" /%26gt;
%26lt;head%26gt;
%26lt;title%26gt;Welcome to domain.com%26lt;/title%26gt;
%26lt;meta content="all" name="robots" /%26gt;
%26lt;meta content="webmaster@domain.com,US" name="author" /%26gt;
%26lt;meta content="www.domain.com,Reprint from then webseits" name=Copyright /%26gt;
%26lt;meta content="Welcome to domain.com!" name=description /%26gt;
%26lt;meta content="About For China News Sports Entertainment Shop Business Travel" name=keywords /%26gt;
%26lt;meta http-equiv=Content-Language content="iso-8859-1" /%26gt;
%26lt;link rev=stylesheet media=all href="css/style01.css" type=text/css rel=stylesheet /%26gt;
%26lt;style type=text/css media=all%26gt;@import url("css/style01.css");%26lt;/style%26gt;
%26lt;meta http-equiv="Content-Language" content="en" /%26gt;
%26lt;meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" l gen true for "http://www.domain.com" r (nz 1 vz 1 lz 1 oz 1 cz 1) gen true for "http://www.domain.com" r (nz 1 vz 1 lz 1 oz 1 cz 1))' /%26gt;
%26lt;meta http-equiv="reply-to" content="webmaster@domain.com" /%26gt;
%26lt;meta name="Author" content="domain.com employee" /%26gt;
%26lt;meta name="Copyright" content="Copyright (C) 2002-2005 domain.com All signature Rights Reserved." /%26gt;
%26lt;meta content="MSHTML 6.00.3790.0" name="generator" /%26gt;
%26lt;/head%26gt;
%26lt;body%26gt;
%26lt;form action="index.php" mothod="post"%26gt;
You email:%26lt;input name="mailname" type="text" value="Webmaster@domain.com" /%26gt;%26lt;br /%26gt;%26lt;input type="submit" value="确定" /%26gt;
%26lt;/form%26gt;
然后把两个文件放在同一个目录就可以了.
这个程序主要是.
通过get获取值后生成.
一个图片格式的email地址.
主要是为了防止email搜索软件抓取email地址.
