9, July 2008
A php - javascript script to avoid spammers - webmaster forum
This forum shares its ad revenue with its members!
Navigation
Webdigity Services
Pagerank Monitor
Whois Tool
Web Design Gallery
Webmaster Forums
Webmaster Directory
Tutorials Database
Webmaster Forums
WebDigity Community
HumanWorks network new...
Clickbank Contextual S...
Forum Contests
Forum Lounge
New Member Introductions
Tech News
Google Forum
User Forums
aStatSpam forum
Computers
3rd-Party Scripting
The 100 Lists Website ...
PixelThings
Smart Publisher
Forums Talk
Design and Layout
General webmaster disc...
Graphics & Multimedia
Adobe Photoshop
Macromedia Flash & Act...
Web Page Design
HTML & XHTML
CSS
Accesibility issues
Website & Graphic Revi...
Web Development
PhP
PHP classes @finalwebs...
Php User Class
JavaScript
Databases
MySQL
Security
Miscellaneous Languages
ASP & .NET
Java & JSP
Web hosting talk
Hosting companies
Domain names
Configuring your server
Apache web server
Monetizing your site
General Business
CPC programs
Adsense
Chitika eMiniMalls
CPM programs
Affiliate programs & o...
Web site promotion
Promotion techniques
Search Engine Optimiza...
Google SEO
Promoting & building a...
SMF moding & promoting
Marketplace
Advertise your services
Sell your site
Sell a domain name
Request services
Hire people
Link trading requests
[
Home
|
Help
|
Search
|
Forum's Shop
|
Archive
|
Login
|
Register
|
Webmaster Directory
]
Web
www.webdigity.com
Hide the search bar
Whois database search :
Domain :
Use the whois database tool to retrieve information on any top level domain you are interested in.
Webdigity Webmaster Forums
>
Web Development
>
PhP
Topic:
A php - javascript script to avoid spammers
« previous
next »
Pages: [
1
]
Author
Topic: A php - javascript script to avoid spammers (Read 1507 times)
I am a metal monkey!
Administrator
Community Supporter
?
Jedai Sword Master
Gender:
Posts: 7943
40607 credits
Members referred : 3
«
on:
Aug 29, 2005, 11:21:58 PM »
Here is the script :
Code:
<?php
$mail
=
"mymail@mydomain.com"
;
$code
=
"<script>var mail=String.fromCharCode("
;
for(
$i
=
0
;
$i
<
strlen
(
$mail
);
$i
++)
$code
.=
ord
(
$mail
[
$i
]).
","
;
$code
=
substr
(
$code
,
0
,-
1
).
");document.write('<a href=\"mailto:'+mail+'\">'+mail+'</a>');</script>"
;
print(
$code
);
?>
«
Last Edit: Aug 30, 2005, 03:37:21 PM by Nikolas
»
Trial and Error my two best teachers
Promote your blog for free....
Last blog :
MIA - Where Nick and Tim
Raped By Google
Posts: 27
178 credits
Members referred : 1
«
Reply #1 on:
Nov 16, 2005, 12:26:18 AM »
Too simple, and really effective.
Thanks for sharing Nikolas!
I am a metal monkey!
Administrator
Community Supporter
?
Jedai Sword Master
Gender:
Posts: 7943
40607 credits
Members referred : 3
«
Reply #2 on:
Jun 20, 2006, 02:57:49 PM »
Also check the above thread which has some good directives for Apache that dissallows access to known spam bots :
http://www.webdigity.com/index.php/topic,1453.0.Apache+%3A+Get+rid+of+spam+bots.html
Trial and Error my two best teachers
Promote your blog for free....
Last blog :
MIA - Where Nick and Tim
Global Moderator
Community Supporter
?
Jedai Sword Master
Gender:
Posts: 6274
38470 credits
Members referred : 374
It's time to use PHP5!
«
Reply #3 on:
Jun 20, 2006, 03:00:33 PM »
Quote from: Nikolas on Jun 20, 2006, 02:57:49 PM
Also check the above thread which has some good directives for Apache that dissallows access to known spam bots :
http://www.webdigity.com/index.php/topic,1453.0.Apache+%3A+Get+rid+of+spam+bots.html
offtopic: are there limits about how much rules will slowdown a website?
Free WordPress Themes
CMS Reviews and Resources
PHP Scripts Archive
Last blog :
4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter
?
Jedai Sword Master
Gender:
Posts: 7943
40607 credits
Members referred : 3
«
Reply #4 on:
Jun 20, 2006, 03:04:55 PM »
Yeah those can slow down a site, but not too much.
For example topsites, with more than 1200 unique visitors per day and all of those rules + astatspam rules is working fine.
But I think that this works better with Apache 2.x instead of 1.3 without being sure for that.
Trial and Error my two best teachers
Promote your blog for free....
Last blog :
MIA - Where Nick and Tim
Trackback URI for this entry :
http://www.webdigity.com/trackback.php?topic=37
Tags :
php
javascript
referer spam
apache
spam
Bookmark this thread :
Digg
Del.icio.us
Dzone
more....
Topic sponsors:
Get a permanent link here for $1.99!
Pages: [
1
]
Webdigity Webmaster Forums
>
Web Development
>
PhP
Topic:
A php - javascript script to avoid spammers
« previous
next »
Jump to:
=>Personal Messages
=>My Subscriptions
=>Profile Settings
=>Account Settings
=>Look and Layout Settings
=>Unread Posts
=>Unread Replies To My Posts
=>Affiliate Program
=>Forum's Shop
=>Arcade
Category: WebDigity Community
=> HumanWorks network news & feedback
===> Clickbank Contextual Script Support
=> Forum Contests
=> Forum Lounge
===> New Member Introductions
===> Tech News
===> Google Forum
=> User Forums
Category: Design and Layout
=> General webmaster discussions
=> Graphics & Multimedia
===> Adobe Photoshop
===> Macromedia Flash & Actionscript
=> Web Page Design
===> HTML & XHTML
===> CSS
===> Accesibility issues
=> Website & Graphic Reviews
Category: Web Development
=> PhP
===> PHP classes @finalwebsites.com
=====> Easy PHP Upload
=====> Access_user Class
=====> Validate_fields Class
=====> DB_cart Class
=====> Miscellaneous scripts or snippets
=====> PHP Whois script
=====> 3rd party modifications
===> Php User Class
=> JavaScript
=> Databases
===> MySQL
=> Security
=> Miscellaneous Languages
===> ASP & .NET
===> Java & JSP
=====> Official Java News
Category: Web hosting talk
=> Hosting companies
=> Domain names
=> Configuring your server
===> Apache web server
Category: Monetizing your site
=> General Business
=> CPC programs
===> Adsense
===> Chitika eMiniMalls
=====> Official news from Chitika
=====> Ad placement reviews
=====> eMiniMalls feedback and suggestions
=> CPM programs
=> Affiliate programs & other revenue models
Category: Web site promotion
=> Promotion techniques
=> Search Engine Optimization
===> Google SEO
=> Promoting & building a forum
===> SMF moding & promoting
Category: Marketplace
=> Advertise your services
=> Sell your site
=> Sell a domain name
=> Request services
=> Hire people
=> Link trading requests
User Area
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Jul 09, 2008, 12:28:57 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Donate to our community, and get a permanent link back to your site!
Forum Statistics
Total Posts:
35.588
Total Topics:
7.355
Total Members:
3.661
Tutorials
:
56
Resources
:
143
Designs
:
220
Latest Member:
komrad
27 Guests, 3 Users online :
Yahoo crawler
,
Googlebot
,
Olaf
17 users online today:
Olaf
,
Captcha
,
chaz
,
vbignacio
,
Nikolas
,
samiotis
,
salestrainer
,
Maryzz
,
mybaseballcards
,
3hounddesign
,
elsrarroyo
,
daveycx
,
MrBrightside
,
homesource
,
GiorgosK
,
Amrinder
,
YMC
Recent topics
Re: Your Favorite Car? ...
Re: Submit Free the best to...
hello from Captcha :)...
Re: Looking to Buy a Websit...
Re: Dreamhost - Have I come...
How to Limit the download e...
Video: Host or Embed?...
Trvia night - first five co...
HumanWorks Network
Technology news
Webmaster articles
Sublime web directory
RSS Feed directory and viewer
Readers
Web Design Gallery
·
Whois Lookup
·
Pagerank
·
Tag Browsing
·
Lo-fi version
·
Syndication
·
Webmaster forum history
·
Advertise
Developed by
HumanWorks
© 2005 - 2008
Webdigity webmaster community
·
sublime directory
Webdigity Webmaster Forums | Powered by
SMF 1.0.12
. © 2001-2005,
Lewis Media
. All Rights Reserved.