Results 1 to 10 of 13
Threaded View
-
20th Jun 2012, 04:22 PM #2Member
you're solution is
Add the following code to your HTML page:
Code:<form method="POST" action="enter the URL to your PHP page here"> <p>Name: <input type="text" name="Name" size="20"></p> <p>Email: <input type="text" name="Email" size="20"></p> <p><input type="submit" value="Submit" name="Submit"></p> </form>
Please update the URL in the HTML form.
Code:<?php ## CONFIG ## # LIST EMAIL ADDRESS $recipient = "enter the lists email address here"; # SUBJECT (Subscribe/Remove) $subject = "Subscribe"; # RESULT PAGE $location = "enter the URL of the result page here"; ## FORM VALUES ## # SENDER $email = $_REQUEST['Email'] ; # MAIL BODY $body .= "Name: ".$_REQUEST['Name']." \n"; $body .= "Email: ".$_REQUEST['Email']." \n"; # add more fields here if required ## SEND MESSGAE ## mail( $recipient, $subject, $body, "From: $email" ) or die ("Mail could not be sent."); ## SHOW RESULT PAGE ## header( "Location: $location" ); ?>
The php script will not work on your local computer - please upload it first.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Beware from Rapidleech script form warez sites and word press themes
By hihotfile in forum Tutorials and GuidesReplies: 3Last Post: 30th Mar 2012, 04:22 PM -
Newsletter Box - Free PSD
By Kr?niiK in forum Graphics AreaReplies: 0Last Post: 7th Feb 2012, 08:02 PM -
form calculation script ?
By MoWarez in forum Webmaster DiscussionReplies: 3Last Post: 14th Dec 2011, 01:47 PM -
Email Newsletter Header
By sarah1709 in forum Graphics AreaReplies: 1Last Post: 18th Nov 2011, 04:16 PM
themaPoster - post to forums and...
Version 5.38 released. Open older version (or...