Solved

Mail this (current) page to a friend

Posted on 2007-11-14
7
185 Views
Last Modified: 2008-02-01
Hi,

I need a code (php or html) who has a button on every page of my site. When you click on that button (mail this page to a friend) it should get a form with some fields like:
Name to
Email to
Name from
email from

It should tell in the body that you have to visit the page.

www.url.com/page1.php
or
www.url.com/page2.php
etc etc

Thanks!
HPvH
0
Comment
Question by:HPvH
  • 3
  • 2
  • 2
7 Comments
 
LVL 16

Expert Comment

by:rbudj
Comment Utility
0
 

Author Comment

by:HPvH
Comment Utility
I mean like it is on this site (see the button "Send to Frien")

Thanks,
HP
0
 
LVL 21

Expert Comment

by:nizsmo
Comment Utility
yes that is possible, do you have any code to get started with?
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:HPvH
Comment Utility
Not yet, sorry.
0
 
LVL 16

Expert Comment

by:rbudj
Comment Utility
The link I gave you is the same concept as your request.
0
 

Author Comment

by:HPvH
Comment Utility
I found this code:
How to put a image before the link "mail deze pagina"

                              <!-- Start Mail deze pagina -->
                                    <script LANGUAGE="JavaScript">
                                          <!-- Begin
                                          function isPPC() {
                                          if (navigator.appVersion.indexOf("PPC") != -1) return true;
                                          else return false;
                                          }
                                          if(isPPC()) {
                                          document.write('<A class="standard" HREF=\"mailto:\?subject\=Bekijk deze pagina die ik heb gevonden, ' + document.title + '?body=Klik op: ' + window.location + '\" onMouseOver="window.status=\'Mail deze pagina\'; return true" TITLE="Mail deze pagina ">mail deze pagina<\/A>.');
                                          }
                                          else { document.write('<A class="standard" HREF=\"mailto:\?body\=Bekijk deze pagina die ik heb gevonden, ' + document.title + '. Klik op: ' + window.location + '\" onMouseOver="window.status=\'Mail deze pagina\'; return true" TITLE="Mail deze pagina">mail deze pagina<\/A>.');
                                          }
                                          //  End -->
                                    </script>
                              <!-- Einde Mail deze pagina -->                         
0
 
LVL 21

Accepted Solution

by:
nizsmo earned 500 total points
Comment Utility
Like this.
<!-- Start Mail deze pagina -->

                                    <script LANGUAGE="JavaScript">

                                          <!-- Begin

                                          function isPPC() {

                                          if (navigator.appVersion.indexOf("PPC") != -1) return true;

                                          else return false;

                                          }

                                          if(isPPC()) {

                                          document.write('<img src="YOUR IMAGE PATH" alt="ALT TEXT"><A class="standard" HREF=\"mailto:\?subject\=Bekijk deze pagina die ik heb gevonden, ' + document.title + '?body=Klik op: ' + window.location + '\" onMouseOver="window.status=\'Mail deze pagina\'; return true" TITLE="Mail deze pagina ">mail deze pagina<\/A>.');

                                          }

                                          else { document.write('<img src="YOUR IMAGE PATH" alt="ALT TEXT"><A class="standard" HREF=\"mailto:\?body\=Bekijk deze pagina die ik heb gevonden, ' + document.title + '. Klik op: ' + window.location + '\" onMouseOver="window.status=\'Mail deze pagina\'; return true" TITLE="Mail deze pagina">mail deze pagina<\/A>.');

                                          }

                                          //  End -->

                                    </script>

                              <!-- Einde Mail deze pagina -->     

Open in new window

0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now