469,275 Members | 1,552 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

Hiding an anchor tag

Hi,
Can i hide an anchor tag in the mailto form?so that only the receiver
is able to see it.
The refernce code is given here:

<FORM METHOD=POST ACTION="mailto:ab*@xyz.com" ENCTYPE="text/plain">
<TEXTAREA NAME="COMMENTS" ROWS="10" COLS="40" WRAP="hard">

Dear Sir/Madam,
------
Regards,
</TEXTAREA><BR><BR>
<a href="google.com" DISABLED title="search">click here</a>
<INPUT NAME="*" TYPE="hidden" VALUE="Please see the link above"><BR>

<INPUT TYPE="submit" VALUE="Send">
<INPUT TYPE="reset" VALUE="Clear">
</FORM>

The above code will send a mail to ab*@xyz.com along with the details.
and * as hidden from the sender but the receiver is able to view it.
Similarly i want to hide the anchor tag also .
Please help.

Sep 1 '06 #1
2 9731
ru******@gmail.com schrieb:
Hi,
Can i hide an anchor tag in the mailto form?so that only the receiver
is able to see it.
The refernce code is given here:

<FORM METHOD=POST ACTION="mailto:ab*@xyz.com" ENCTYPE="text/plain">
<TEXTAREA NAME="COMMENTS" ROWS="10" COLS="40" WRAP="hard">

Dear Sir/Madam,
------
Regards,
</TEXTAREA><BR><BR>
<a href="google.com" DISABLED title="search">click here</a>
<INPUT NAME="*" TYPE="hidden" VALUE="Please see the link above"><BR>

<INPUT TYPE="submit" VALUE="Send">
<INPUT TYPE="reset" VALUE="Clear">
</FORM>

The above code will send a mail to ab*@xyz.com along with the details.
and * as hidden from the sender but the receiver is able to view it.
Similarly i want to hide the anchor tag also .
Please help.
There is nothing hidden - the sender (who is actually the viewer of the
web page containing the form) just has to look at the source code to see
all information in the form. Also, this code does not send anything, but
open the viewer's e-mail client with the receiver address and, depending
on the browser and the e-mail software, some body text preset.

If you want to transmit any information not viewable by the person who
hits the "send" button, you need to use some server-side processing by a
form-mailer, there are many PHP and CGI solutions freely available. It
is possible that your hosting provider offers a pre-installed solution
for free.

Anyway you need a solution that lets you configure the e-mail
composition at the server side, without sending information such as the
receiver address or additional text in hidden input fields (which are
published in the source code of the form).

HTH
Markus
Sep 1 '06 #2
ru******@gmail.com wrote:
Hi,
Can i hide an anchor tag in the mailto form?so that only the receiver
is able to see it.
The refernce code is given here:

<FORM METHOD=POST ACTION="mailto:ab*@xyz.com" ENCTYPE="text/plain">
<TEXTAREA NAME="COMMENTS" ROWS="10" COLS="40" WRAP="hard">

Dear Sir/Madam,
------
Regards,
</TEXTAREA><BR><BR>
<a href="google.com" DISABLED title="search">click here</a>
<INPUT NAME="*" TYPE="hidden" VALUE="Please see the link above"><BR>

<INPUT TYPE="submit" VALUE="Send">
<INPUT TYPE="reset" VALUE="Clear">
</FORM>

The above code will send a mail to ab*@xyz.com along with the details.
and * as hidden from the sender but the receiver is able to view it.
Similarly i want to hide the anchor tag also .
Please help.
Why? You want someone to use the form to send a message, but you want
to hide from that person something that is sent? What is the purpose?

More important, is this really serving the needs of the person sending
the message? This almost smells like spyware.

--

David E. Ross
<http://www.rossde.com/>

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>
Sep 1 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by R. Rajesh Jeba Anbiah | last post: by
39 posts views Thread by WindAndWaves | last post: by
6 posts views Thread by Daniele Baroncelli | last post: by
5 posts views Thread by elsenraat_76 | last post: by
6 posts views Thread by Richard Brown | last post: by
10 posts views Thread by elibol | last post: by
3 posts views Thread by Joseph Gruber | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.