Email To Image With PHP to reduce Spam

Email To Image

The number of spam emails coming into an email account is usually due to installing an email with a direct plaintext on web page. Well, to help reduce the power of email search engine we will work with the captcha principles, which boot machine or robot can not read into the image. Now we try to display our email in the form of images like services at big website such as Facebook (Email Account Info of Facebook is in form of image).

Email To Image With PHP to reduce Spam can be done with two files. The Engine File to Convert Email To Image i named
emailtoimage.php ;

<?php
header("Content-type: image/png");
// Your email address which will be shown in the image
$email = "$_GET[email]";
$length = (strlen($email)*8);
$im = @ImageCreate ($length, 20)
or die ("Kann keinen neuen GD-Bild-Stream erzeugen");
$background_color = ImageColorAllocate ($im, 255, 255, 255); // White: 255,255,255
$text_color = ImageColorAllocate ($im, 55, 103, 122);
imagestring($im, 3,5,2,$email, $text_color);
imagepng ($im);
?>



and the other one is a Common File to Call the Image.

Email To ImageHow we call the image from the common file ?
Simple, Just Use : Email : <img src=emailtoimage.php?email=$data[email]>


Komentar FB


Probably Related Article



18 comments:

Portable Photo Printer said...
December 28, 2009 at 4:21 PM

Great idea! I have to admit though, PHP makes my brain melt.

rumah blogger said...
December 30, 2009 at 6:30 AM

langsung sedooot yaa

sabirinnet said...
December 30, 2009 at 6:30 AM

pencerahan yg bermanfaat mas, terima kasih ya

emperor edutainment said...
December 31, 2009 at 1:08 AM

mantabs... tapi kadang justru saya suka ngebaca email spam.

blog saya, blog bisnis

Picas said...
December 31, 2009 at 6:40 PM

waa.........
koq senang bc email spam...?
coba spam yang masuk sampai 100 spam perhari..
bakal menjengkelkan apalagi kalau karakternya tulisan china atau aneh2..

Cert Exams said...
January 3, 2010 at 7:51 AM

It's a good idea to convert email to image. However, it may not take much time before spammers can catch up with it.

PHP Code Samples said...
January 3, 2010 at 10:57 AM

Thanks, that really helped me out...

Web Development Company said...
January 4, 2010 at 11:06 PM

Oh! it's great tips to reduce spam mails. Thanks for the php code. I will try it.

KVM Switche said...
January 5, 2010 at 3:33 AM

Hi, it’s really a nice article. The information of your blog is really attractive. Looking forward to reading more from you. Keep blogging.

Picas said...
January 6, 2010 at 8:35 AM

@Cert Exam..
maybe the next generation bot can read from image..

but for now email to image is effective way to prevent a spam bot is a email as a image, not a pure email text in web page..

Virtual assistant india said...
April 14, 2010 at 12:35 AM

The Idea is really great & the captcha principle is good enough to block spam coming directly to Email.The post is good & informative.Thanks

金瓜米粉Jason said...
May 5, 2010 at 7:25 PM

徵信社,徵信,徵信,徵信社,外遇,尋人,徵信公司,徵信,抓姦,徵信,徵信社,徵信,抓姦,抓姦,外遇,尋人,徵信公司,徵信,徵信,徵信社,徵信社,徵信,徵信社,徵信,外遇,尋人,徵信公司,徵信社,抓姦,徵信,外遇,徵信社,,徵信,徵信社,徵信,徵信社,徵信,徵信,徵信社,徵信社,徵信,徵信社,徵信,徵信社,徵信,徵信社,徵信,外遇,尋人,徵信公司,徵信,徵信社,徵信社,徵信,錄音,背叛,商標,商標,GPS,離婚

Online Penny Auctions said...
September 3, 2010 at 12:04 AM

really great & the captcha principle is good enough to block spam coming directly to Email.The post is good & informative...

Seo Services India said...
September 6, 2010 at 9:16 AM

Is there any way to either reduce or eliminate the amount of SPAM email I receive daily? It seems like I'm getting more and more every day.

Discount loans said...
September 14, 2010 at 3:13 AM

The information of your blog is really attractive. Looking forward to reading more from you. Keep blogging.

Toronto Marketing Company said...
September 24, 2010 at 1:58 AM

Nice post! I do always have same opinion. I also hate spam. For more information I will be in touch.

Android developer said...
September 12, 2011 at 4:59 AM

I charge we appreciate you your time and efforts you acquire in publishing this blog. I'm hoping the aforementioned best article by you after on also. Actually your creative thinking ability has encouraged me to start out my own blog.

Domain name registration india said...
January 5, 2012 at 10:40 PM

Thanks to sharing wonderful website I hope you can keep writing more and more good articles.Keep up it

Related Posts by Categories



Widget by