tags in the enclosed index.html */ /* file in the html of the page you are using where you */ /* want the link to appear. */ /***********************************************************/ /* Change these details to suit your needs */ /* Enter the company name or site name here */ $sitename = "Viewfinder Design"; /* Enter the site web address */ $siteaddress = "http://www.viewfinderdesign.co.uk/"; ?>
Error: your email address is not in a valid format.
"); outputform(); exit; } if (!eregi("^[a-z0-9]+([-_\.]?[a-z0-9])+@[a-z0-9]+([-_\.]?[a-z0-9])+\.[a-z]{2,4}", $femail)) { print("Error: your friend's email address is not in a valid format.
"); outputform(); exit; } $comments = stripslashes($comments); if (!mail("$femail","$yname suggests that you stop by $sitename","\n\n$yname saw this on $sitename and thought you would should see it:\n\nURL: $pageurl \n\n Additional Comments: \n------------------------------------ \n$comments \n------------------------------------\n\nThis message was sent from $sitename ($siteaddress)","From:$yemail")) { echo "Error: mail not sent!"; } echo "Your recommendation to $femail has been sent.
"; } } else { ?>Tell someone about .