I found a PHP based email obfuscator for use in websites, where the
source HTML (PHP, actually) file doesn't contain the actual email
address in the Mailto tag, but generates it and that generated page
(containing a full and conventional Mailto: tag) is what is ultimately
presented to the user.
The intent is to thwart Spam bots and spiders, by NOT having the email
address in the original HTML Source, but ultimately presenting it to
the person browsing the site.
But here's my question.... Even though the program works exactly as
advertised, isn't this a case of flawed logic on the part of this
scripts author? PHP runs server-side, so won't the PHP be
interpreted, whether it's requested by a bot, a spider, or a legit
website visitor? (and thereby, presenting the bot with the full
Mailto: tag and email address anyway)? Or is there something basic
I'm missing here?
Thanks in advance...
John 4 5963
"john Q" <jo************ *************** ***********@yah oo.com> wrote in message
news:d3******** *************** *********@4ax.c om... I found a PHP based email obfuscator for use in websites, where the source HTML (PHP, actually) file doesn't contain the actual email address in the Mailto tag, but generates it and that generated page (containing a full and conventional Mailto: tag) is what is ultimately presented to the user.
The intent is to thwart Spam bots and spiders, by NOT having the email address in the original HTML Source, but ultimately presenting it to the person browsing the site.
But here's my question.... Even though the program works exactly as advertised, isn't this a case of flawed logic on the part of this scripts author? PHP runs server-side, so won't the PHP be interpreted, whether it's requested by a bot, a spider, or a legit website visitor? (and thereby, presenting the bot with the full Mailto: tag and email address anyway)? Or is there something basic I'm missing here?
Thanks in advance...
John
Nope you're absolutely spot on. Unless the PHP script is detecting a bot using something like the
user-agent, or IP? Even then, a bot simply has to present itself as though it were a browser.
Javascript commonly used to obfuscate email addresses in web pages. The other method is to use a
form, which posts to a PHP script that sends an email.
On Mon, 14 Jul 2003 11:13:10 +0800, "powerboy"
<po******@rarex treme.com> wrote: Nope you're absolutely spot on. Unless the PHP script is detecting a bot using something like the user-agent, or IP? Even then, a bot simply has to present itself as though it were a browser.
Javascript commonly used to obfuscate email addresses in web pages. The other method is to use a form, which posts to a PHP script that sends an email.
Thanks for the reply... I'm new to PHP, but I suspected there was a
missing ingredient there...
What do you think of this theory... (I'm trying to find a balance
between convenience to the end user (a lot of people hate forms), 100
percent browser compatibility (enough people keep Javascript turned
off)
Theory:
When you click on the "Contact us" link on a page, you're presented
with a short and simple form with two radio buttons, "Yes" and "No",
defaulted to "No", and you're asked nicely to "Click "Yes" if you
would like to email us"
That form runs a PHP script in an execute only directory, and if the
user selected "Yes", the script presents a generated page containing
all the "Mailto:" tags our heart desires. (I'm willing to accept that
this (or just about anything) can't and won't stop people from
manually harvesting the site, but it's the bots/spiders that I figure
I can fight).
This spares the user from filling in a form, it would only be one or
two extra clicks. This seems like it would work to me, but I'm (I'm
fuzzy on whether "execute only" is applicable in the case of an
interpreted scripting language like PHP)
Thanks
> Theory: When you click on the "Contact us" link on a page, you're presented with a short and simple form with two radio buttons, "Yes" and "No", defaulted to "No", and you're asked nicely to "Click "Yes" if you would like to email us"
Thats annoying for the user though - to have to click on further links to
get to be able to send you an e-mail is not at all ideal - I would be very
put off by that.
For what its worth, I have had several sites in the past, for which I use a
different e-mail address which is only used for website feedback. In over a
year since getting my most recent e-mail address I use for this, i've never
had a single piece of junk mail come through, which would indicate that bots
just aren't interested in websites - why would they bother checking possibly
hundreds or thousands of pages on a website to find a single e-mail address
of the owner when they could get possibly a thousand e-mail addresses from a
couple of hundred pages from newsgroups and such?
If you are intent on hiding your e-mail address then you could use something
like that, but try to do it in a single link (ie have the link to your
contact page as a form button with the radio buttons there with it, so its
done in one step - or have it so it pops up a small window with the e-mail
address in when they click on your yes button as you have it so that they
aren't having to reload the entire page, which may be a problem for people
with modems.
Personally though, I just wouldn't bother trying to hide it - nothings ever
come to my e-mail address that i use on several sites! If you are
concerned, try it with a different e-mail address first for a few months -
if it does get a lot of junk mail try your methods again and just scrap that
address, if it doesn't then you're fine.
David
On Mon, 14 Jul 2003 20:05:11 +0100, "David Walker"
<wb*********@ho tmail.com> wrote:
....<snip removed>... For what its worth, I have had several sites in the past, for which I use a different e-mail address which is only used for website feedback. In over a year since getting my most recent e-mail address I use for this, i've never had a single piece of junk mail come through, which would indicate that bots just aren't interested in websites - why would they bother checking possibly hundreds or thousands of pages on a website to find a single e-mail address of the owner when they could get possibly a thousand e-mail addresses from a couple of hundred pages from newsgroups and such? ...<snip removed>...
There must be an element of good luck / bad luck on whether or not a
person gets hit, because I definitely get tons of spam at several
addresses only used on websites of mine. One or two even send
guesswork spam, where they send to "sales" @ my domain name, even
though I don't/never had a mailbox named "sales". (fortunately, not
that many do that).
If you are intent on hiding your e-mail address then you could use something like that, but try to do it in a single link (ie have the link to your contact page as a form button with the radio buttons there with it, so its done in one step
FYI, that was what I meant to write, even if how I phrased it didn't
turn out right
- or have it so it pops up a small window with the e-mail address in when they click on your yes button as you have it so that they aren't having to reload the entire page, which may be a problem for people with modems.
Great idea! I'll probably do a blend of javascript with a noscript
option that does the small popup window. Also, good point on the
single (and disposable) website feedback address. I have to admit
that I've used primary email addresses on websites, which is bad
strategy since it can be a pain to change your primary address.
Thanks again,
John This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Shinin |
last post by:
I am trying to set up a mailto: link so that the actual address that
the email is being sent to is obscured and replaced by a name. For
example, I have <a href="mailto:jschmoe@abc.com">Joe Schmoe</a>. When
this link is clicked, an email window appears in the clicker's email
client where the To: field is jschmoe@abc.com. What I want to have
displayed there is Joe Schmoe. I've seen it suggested that formatting
the link like this: <a...
|
by: Mike |
last post by:
Is there a way to determine what a user's default email client is? I
read a post from 3 years ago that said no. I guess I'm hoping
something has come along since then.
|
by: pcchong |
last post by:
what is the simplest way to put the email address on the homepage so that it
is not readable by email extractor or search engine? I remember someone
wrote a simple script to do that, but I can't find it now. Anyone know
about this? Thanks.
pcchong
|
by: Steevo |
last post by:
Any suggestions as to the best programs for cloaking email addresses?
Many thanks
--
Steevo
|
by: web_design |
last post by:
I put this together from some other scripts I am using on a site. I'm
trying to make a better email hiding script. It isn't working. Also, it
causes Internet Explorer 6 SP2 to block the script as "active content". :(
The idea is that if the user doesn't have JavaScript enabled, they will see
an image of the email address (that can't be read by email harvesting
programs). If JavaScript is enabled, the image will be hidden and the...
| |
by: trevors_decoy |
last post by:
Hi,
apologies if this sort of query pops up all the time - I did spend a
while searching the archives first...
My website tries to protect my email address from the spam harvesters
by obscuring it. Works like a dream under IE 5&6, fails under Mozilla.
I just put the script inline where I want a mailto href.
Under Mozilla the fake_email_address@fake_domain.com isn't replaced by
the real deal - both in the href and on the status bar....
|
by: kennykenn |
last post by:
Hi,
Ive producd code to send an email after capturing info off a form,it works fine locally but when i put it live it doesnt work! the code is stopin at 'msg.send' any ideas,
here the code!
<%
|
by: Craig Hurley |
last post by:
Hello,
user@x.com receives an email from user@a.com. I want to forward that
email to user@y.com. I want the contents/header to remain intact, with
the exception of adding "X-Forwarded-For". In other words, when
user@y.com received the email, it will be from user@a.com, but will
contain a reference that it was forwarded by user@x.com.
I'm piping all email destined for user@x.com to a php script. I've seen
some very complicated...
|
by: sqshymnky |
last post by:
Hello all,
I know html but am sort of lost when it comes to PHP. I don't really know where to even begin to explain my problem.
I am working on a site that deals with real estate. I have created a form on a basic html page( real estate listing page). This form calls a mail.php page to send the contents of the form to the person to whom it is supposed to go (property owner). I setup a test and it all works fine. But here is where the...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |