This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > July 2005 > E-mail page to a friend





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author E-mail page to a friend
lthanlon

2005-07-29, 11:18 pm

I know there must be coding for this, or an extension -- but I can't find it. I'm not even sure this is what it's called. Any help directing me would be appreciated.

Thanks.


PeteC

2005-07-30, 7:17 am

lthanlon wrote:
> I know there must be coding for this, or an extension -- but I can't
> find it. I'm not even sure this is what it's called. Any help
> directing me would be appreciated.
>
> Thanks.


Have a look at http://www.hotscripts.com for 'Tell a Friend' (in PHP scripts
section) or 'Site Recommendation' (ASP section).


HTH,

Pete.
--
Peter Connolly
http://www.acutecomputing.co.uk
Derby
UK
Skype ID: acutecomputing


kbleivik

2005-07-30, 7:19 am

Hi lthanlon,
Are you looking for Dreamweaver code? I do it myselft. Then you should try
File + New + Page Designs + Send Email.

But I am unsure ow how to get it to function. Combine it with an email link?
Perhaps somebody else know?

Kjell Bleivik
http://www.multifinanceit.com/


J.S. \(UltraSuite\)

2005-07-30, 7:22 pm

Do you want to email the URL of a page or the page itself?

--
____________________________________________________________________
UltraSuite Extension Packages: http://www.ultrasuite.com/
The *most popular* Suites of DMX 2004 and DMX Server Behaviors
for ASP, ASP.Net, ColdFusion, JSP, and PHP_MySQL
____________________________________________________________________


lthanlon

2005-07-30, 7:23 pm

Just the URL. I've found some javascript that does this, but it works by opening a visitor's own e-mail application. I'm looking for a relatively simple way of creating a page with form fields.
kbleivik

2005-07-30, 7:23 pm

What is wrong with this http://www.multifinanceit.com/email.htm code?

Kjell Bleivik
http://www.multifinanceit.com/
J.S. \(UltraSuite\)

2005-07-30, 7:25 pm

Does your server support ASP or another server model?

--
____________________________________________________________________
UltraSuite Extension Packages: http://www.ultrasuite.com/
The *most popular* Suites of DMX 2004 and DMX Server Behaviors
for ASP, ASP.Net, ColdFusion, JSP, and PHP_MySQL
____________________________________________________________________


J.S. \(UltraSuite\)

2005-07-30, 7:25 pm

You don't have an opening form tag, I think. Also, you should use
server-side scripting to get the best results.

--
____________________________________________________________________
UltraSuite Extension Packages: http://www.ultrasuite.com/
The *most popular* Suites of DMX 2004 and DMX Server Behaviors
for ASP, ASP.Net, ColdFusion, JSP, and PHP_MySQL
____________________________________________________________________


lthanlon

2005-07-30, 7:26 pm

Our server supports CGI with Perl, Python and PHP, I believe.
J.S. \(UltraSuite\)

2005-07-30, 11:14 pm

Ok, here is some PHP code that will give you the URL with URL parameters of
the page in question.

<?php
$varURL = "http://" . $SERVER_NAME . $_SERVER['PHP_SELF'] . $QUERY_STRING;
?>

Then you can just use an email server behavior to send this URL to any email
address or use this code:

<?php
$emailBody = "Check this out: " . $varURL;
mail ("to@mail.com", "Subject", $emailBody, "From: from@mail.com\nX-Mailer:
PHP 4.x");
?>

You might wish to take a look at my PHP_MySQL suite for extra features.

--
____________________________________________________________________
UltraSuite Extension Packages: http://www.ultrasuite.com/
The *most popular* Suites of DMX 2004 and DMX Server Behaviors
for ASP, ASP.Net, ColdFusion, JSP, and PHP_MySQL
____________________________________________________________________


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews