Discussion on NoSpam – Custom email Validator for PHP


zajcman supports this item


This author's response time can be up to 10 business days.

7 comments found.

If this is a PHP script, why is the demo an ASP page?

because i created firsht dll in .net and i was created demo in .net after that i was rewrited dll for PHP but demo i uset from .net . Funzionality is the same . Names of values are the same and names of methods are the same unical thing is language :)

hi. Its just an opinion. I found it useless. I entered uhusdhsh@hsfhg.li and the email has gone. So whats the point to integrate something like this into my contact form? I still can enter millions of fake email addresses. Thanks

If you thinking in this category is true. Is useless. But target was diferent ,class was addressed for portal that requiared email verification. Many peopel us temporary emails to register that script block it. If you earn $$$ with email that you send to your users this scirp is for you, you get less trash emails :). Next think you can use to block some range of emails like “gmail.com” or block users from toplevel domains example if you want block users from poland unical think what you must do is cancel ”.pl” from toplevel array list :).
Bakerman in this case you thing that is useless ??
Thank you for opinion :)

I think you misunderstood bakerman. He was telling you that your script was not working right. He was able to put in junk email addresses and the script was allowing them through the system.

I understund him very well :) . I know that but not essist script that do this type of work why becase every time when send form you must find smtp server from domain and do request like “hello are you there ?” and wait answer but for security reasons answer option is blocked by Administrator. For this reasons this is custom validation :)

very useful class to avoid “one use accounts”

thank you :) this was the scope

There are several issues used in the visual CAPTCHA and unless you have a high-volume website you should try using simple checks instead. Even W3C suggests using different possibilities and approaches. But if you have a high-volume website you can try to use a simple text confirmation code. All what you need is an input field and a PHP code to check the entered code. Here is an example code for the HTML form: Access code: < input / >< br / >

Please enter < b >MYCODE< /b > above.

Then according to php form tutorial you can simply the check if the entered code matches, with a PHP help. Please, compare the code in lower-case to avoid issues with a typing in CaSe SeNSiTiVe code: If (strtolower( $_POST[‘code’ ]) != ‘mycode’) { die(’ Wrong access code’); }

I am a bit confused! Do I put this code in my php file or just the second line of code? I am using php pages instead of html.

$myClass1 = new noSpam; $myClass1 -> Checkmail(“your_email@to_check.com”); if ($myClass1 -> Checkmail(“your_email@to_check.com”) != 1 ) { echo $myClass1 -> spamMail; }

<?php include(“noSpam.php”)



Can we validate email in bulk like 15000 ?