Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > question about forms and spambots

Reply
Thread Tools

question about forms and spambots

 
 
Starscream
Guest
Posts: n/a
 
      10-28-2003
I've been told that using forms (FormMail) is probably the best way to hide
your email from spambots. However in the hidden line, the value for the
email to which is being sent to is clear as day. What keeps the spambots
from reading this?

What about simply throwing the email into a Flash movie file that will
create the mailto from within it. In theory the spambots will only be able
to read *.swf and move on, since (I'm assuming) they cannot deconstruct the
movie to read the mailto tag from within. I'm not concered with outcasting
user who don't have flash (the site is 95 percent flash anyhow), but I am
concered about leaving my email out for the spambots to catch. And everyone
reccomends using Forms, however the value being exposed like that leave me
wondering.

Any help or advice would be appreciated.

Thank


 
Reply With Quote
 
 
 
 
Hywel Jenkins
Guest
Posts: n/a
 
      10-28-2003
In article <%YBnb.6377$. net>,
says...
> I've been told that using forms (FormMail) is probably the best way to hide
> your email from spambots.


Hmm. FormMail sucks.


> However in the hidden line, the value for the
> email to which is being sent to is clear as day. What keeps the spambots
> from reading this?


Nothing.


> What about simply throwing the email into a Flash movie file that will
> create the mailto from within it.


What's "Flash"?


> And everyone
> reccomends using Forms, however the value being exposed like that leave me
> wondering.


Write your own form handler that has the address hard-coded within the
script.

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
 
Reply With Quote
 
 
 
 
Bryce
Guest
Posts: n/a
 
      10-28-2003

"Hywel Jenkins" <> wrote in message
news: ...
> In article <%YBnb.6377$. net>,
> says...
> > I've been told that using forms (FormMail) is probably the best way to

hide
> > your email from spambots.

>
> Hmm. FormMail sucks.
>
>
> > However in the hidden line, the value for the
> > email to which is being sent to is clear as day. What keeps the spambots
> > from reading this?

>
> Nothing.
>
>
> > What about simply throwing the email into a Flash movie file that will
> > create the mailto from within it.

>
> What's "Flash"?
>
>
> > And everyone
> > reccomends using Forms, however the value being exposed like that leave

me
> > wondering.

>
> Write your own form handler that has the address hard-coded within the
> script.
>
> --
> Hywel I do not eat quiche
> http://hyweljenkins.co.uk/
> http://hyweljenkins.co.uk/mfaq.php



well, that was pretty god damn useful!


 
Reply With Quote
 
Brett
Guest
Posts: n/a
 
      10-28-2003
This is how I like to do it. All the robot will see is <a
href="index.html?n=name&a=@&d=domain.com">. I don't think they are smart
enough to snag that. Just put the first five lines at the very top of your
page...and put the last four lines anywhere you want to display the "Contact
Us" link.

<?php
if (isset($n)) {
header("Location: mailto:$n$a$d");
}
?>

<?php
$n='news'; $a='@'; $d='provisiontech.net';
echo "<a href=\"index.html?n=$n&amp;a=$a&amp;d=$d\">Contact Us</a>";
?>

--
Brett
Provision Tech
http://www.provisiontech.net

"Starscream" <> wrote in message
news:%YBnb.6377$ ink.net...
> I've been told that using forms (FormMail) is probably the best way to

hide
> your email from spambots. However in the hidden line, the value for the
> email to which is being sent to is clear as day. What keeps the spambots
> from reading this?
>
> What about simply throwing the email into a Flash movie file that will
> create the mailto from within it. In theory the spambots will only be able
> to read *.swf and move on, since (I'm assuming) they cannot deconstruct

the
> movie to read the mailto tag from within. I'm not concered with outcasting
> user who don't have flash (the site is 95 percent flash anyhow), but I am
> concered about leaving my email out for the spambots to catch. And

everyone
> reccomends using Forms, however the value being exposed like that leave me
> wondering.
>
> Any help or advice would be appreciated.
>
> Thank
>
>



 
Reply With Quote
 
Kris
Guest
Posts: n/a
 
      10-29-2003
In article <RmCnb.1014$>,
"Bryce" <> wrote:

> > Write your own form handler that has the address hard-coded within the
> > script.


> well, that was pretty god damn useful!


Quick setup for a mailto form in PHP:

<?
// if form is submitted to itself
if($send) {

// check required fields
if($field1 && $field2 && $field3) {

// compose your e-mail here and have PHP send it.
// ...

$sent = 1;

} else $error = 1;
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<title>

</title>

</head>
<body>

<?
if($sent) {
// form sent
?>

<!-- insert your thankyous here -->

<?
} else {
// form not yet sent, or returned with errors
?>

<? if($error) echo "<strong>Wake up! Complete that form.</strong>"; ?>

<form ...>

<!-- your form here -->

<input type="hidden" name="send" value="1">
</form>


<?
}
?>

</body>
</html>

--
Kris
erlands (nl)
 
Reply With Quote
 
Kris
Guest
Posts: n/a
 
      10-29-2003
In article <kristiaan->,
Kris <> wrote:

> <title>
>
> </title>


Duh..

<title>
<?
if($sent) echo "Thank you very muchos"; elseif($error) echo "Wake up,
buddy!"; else echo "Contact form";
?>
</title>

--
Kris
erlands (nl)
 
Reply With Quote
 
Daniel R. Tobias
Guest
Posts: n/a
 
      10-29-2003
Starscream wrote:

> I've been told that using forms (FormMail) is probably the best way to hide
> your email from spambots. However in the hidden line, the value for the
> email to which is being sent to is clear as day. What keeps the spambots
> from reading this?


Nothing... that's why the better solution would be to embed the address
entirely within the server-side script instead of in a form parameter.

> What about simply throwing the email into a Flash movie file that will
> create the mailto from within it.


Gag, vomit... it's never a good idea to unnecessarily make site content
inaccessible by using Flash where it's not absolutely needed.


--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/

 
Reply With Quote
 
Hywel Jenkins
Guest
Posts: n/a
 
      10-29-2003
In article <RmCnb.1014$>,
says...
>
> "Hywel Jenkins" <> wrote in message
> news: ...
> > In article <%YBnb.6377$. net>,
> > says...
> > > I've been told that using forms (FormMail) is probably the best way to

> hide
> > > your email from spambots.

> >
> > Hmm. FormMail sucks.
> >
> >
> > > However in the hidden line, the value for the
> > > email to which is being sent to is clear as day. What keeps the spambots
> > > from reading this?

> >
> > Nothing.
> >
> >
> > > What about simply throwing the email into a Flash movie file that will
> > > create the mailto from within it.

> >
> > What's "Flash"?
> >
> >
> > > And everyone
> > > reccomends using Forms, however the value being exposed like that leave

> me
> > > wondering.

> >
> > Write your own form handler that has the address hard-coded within the
> > script.

>
> well, that was pretty god damn useful!


Indeed it was. Or were you being sarcastic? Do you not realise that
this group is not anyone's personal help-desk and they should really
make an effort to figure things out for themselves? How did you ever
learn?

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
 
Reply With Quote
 
Starscream
Guest
Posts: n/a
 
      10-30-2003
>
> > I've been told that using forms (FormMail) is probably the best way to

hide
> > your email from spambots. However in the hidden line, the value for the
> > email to which is being sent to is clear as day. What keeps the spambots
> > from reading this?

>
> Nothing... that's why the better solution would be to embed the address
> entirely within the server-side script instead of in a form parameter.




What Form program (script) would you recommend then?



> > What about simply throwing the email into a Flash movie file that will
> > create the mailto from within it.

>
> Gag, vomit... it's never a good idea to unnecessarily make site content
> inaccessible by using Flash where it's not absolutely needed.
>
>


What if the entire site is already in Flash?



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I write spyware, spambots and worms in C ? ? ? Hans-Marc Olsen C Programming 6 11-18-2004 12:59 PM
What is the best way to hide email addresses in a web site from SpamBots? Miguel Dias Moura ASP .Net 4 06-26-2004 05:37 AM
Re: About Spambots and HTML Weyoun the gowd damn Dominion Vorta who certainly didn't dance HTML 1 04-01-2004 01:51 PM
Re: About Spambots and HTML Tom Smith HTML 0 04-01-2004 12:52 AM
Spambots Rule! (Or Dont put your email address in postings) eric_seal Computer Support 8 02-23-2004 01:32 PM



Advertisments