Hi there,
I'm currently trying to use Dago Designs email script.
I have a page and on there I wanted to have the actual form to fill out.
However I understand I need to create a php file, so I did, the script is as follows and the file is jointheclub3.php:
This script requires you to download the files and upload them onto your server, there is a css file and a php file. The php file I made some changes to as required:
Now I can't for the life of me get this to work. The php page I created doesn't work, and even if it did, how do it get it on the html page? Or do I not?Code:$standalone = 'http://www.mysite.ca/dd-formmailer[1]/dd-formmailer/dd-formmailer.css;
// If you are using the standalone option, enter the relative path to your CSS file so it
// can be declared properly in the header
$path_to_css = 'http://www.mysite.ca/dd-formmailer[1]/dd-formmailer/dd-formmailer.css';
// For those of you including this script in another PHP file, be sure to manually
// add the CSS declaration in the header section of your page:
// <link rel="stylesheet" href="(location of dd-formmailer.css)" type="text/css" media="screen" />
// LANGUAGE SETTING
// The relative path to the language file you want to use.
$language = 'lang/English.php';
// FULL URL TO SCRIPT
// The full URL to dd-formmailer.php (or whatever you have renamed it to)
$script_path = 'http://www.mysite.ca/jointheclub3.php';
// FULL URL TO CONTACT PAGE
// If you are running this script in standalone mode, leave this blank. Otherwise,
// enter the full URL to the page that is displaying the form
$path_contact_page = '';
// RECIPIENT DATA
// If you are just sending email to a single address, enter it here. For more advanced
// usage such as multiple recipients, CC, BCC, etc.. please see the web page for instructions
$recipients = 'whatever@yahoo.com';
// FORM STRUCTURE
// This is used to generate the form. Each form element must be on its own line.
// Detailed usage instructions can be found on the web page
$form_struct = '
type=text|class=fmtext|label=First Name|fieldname=fm_firstname|max=100|req=true
type=text|class=fmtext|label=Last Name|fieldname=fm_lastname|max=100|req=true
type=text|class=fmtext|label=Address|fieldname=fm_address|max=100|req=true
type=text|class=fmtext|label=Home Phone|fieldname=fm_phonehome|max=100|req=true
type=text|class=fmtext|label=Cell Phone|fieldname=fm_phonecell|max=100|req=true
type=text|class=fmtext|label=Email|fieldname=fm_email|max=100|req=true|ver=email
type=text|class=fmtext|label=Subject|fieldname=fm_subject|max=100|req=true
type=verify|class=fmverify|label=Verify
type=textarea|class=fmtextarea|label=Message|fieldname=fm_message|max=1000|rows=6|req=true
';

