If anyone can help I’d be very, very, grateful!! I have tried to edit this php form with image uploader, I have managed to ad another email to the form, however I need to ad a check box to the form, before the message field, it posts the name check box but no answer like this
Submission from ‘contact us’ form:
Name :test
Email :[email protected]
Email2 :[email protected]
Checkbox :
Message : tester
Submit : Submit
(I hope i have explain myself fairly well - still getting to grips with php)
online example http://www.wdcreative.co.uk/contact-form-attachment-1/contactform-3.php
<?PHP /* Contact Form from HTML Form Guide This program is free software published under the terms of the GNU Lesser General Public License. See this page for more info: http://www.html-form-guide.com/contact-form/contact-form-attachment.html */ require_once("./include/fgcontactform.php"); $formproc = new FGContactForm(); //1. Add your email address here. //You can add more than one receipients. $formproc->AddRecipient('[email protected]'); //<SetFormRandomKey('FOCk8Nr0bfWLjgN'); $formproc->AddFileUploadField('photo','jpg,jpeg,gif,png,bmp',2024); if(isset($_POST['submitted'])) { if($formproc->ProcessForm()) { $formproc->RedirectToURL("thank-you.php"); } } ?> Contact us Contact us' maxlength="50" />
' maxlength="50" />
' maxlength="50" />
<?php echo $formproc->SafeDisplay('message') ?>
The proccer script corresponding code