Home Directory Forum Rules Help Shopping More Freegive Search Save Money Ideas Free Advertising
Even More »
Post a free ad  |  Make Freegive my homepage 
 
 
www.freegive.co.uk - Don't Throw Unwanted Items Away, Give it Away on Freegive
 Free Contact Form       Total Visits: 1544     Free Stuff Directory     Free PHP Hit Counter  


Free contact form with file upload support and captcha

Having file upload boxes in contact forms will be greatly convenient for some web sites.

For example, if the visitor can attach his/her photo, cv and resume, that will greatly enhance the form's functionality.

Here is a contact form that you can customize for your needs.


You can download the contact form that best fits your needs and then customize as required.

Contact Form 1



1. A simple contact form with a file upload field
Try the Demo  |  Download
Contact Form 2



2. Contact form with file upload field and Captcha
Try the Demo  |  Download
Contact Form 3



3. Contact form with two file upload fields and Captcha
Try the Demo  |  Download

Features of the contact form

1. You can have any number of file upload boxes
2. Standards compliant (100% XHTML 1.0 strict validated, uses CSS)
3. Secured against spam bots and attacks
4. Easy to customize
5. Hosted on your own web server
6. Free!


Installing the contact form on your web site

1. Unzip the downloaded contact form code.
2. Edit contactform.php and edit the email address to your email address

$formproc->AddRecipient('putyouremail@addresshere.com');//<<---Put your email address here

3. Upload the folder contents to your website (to a sub-folder say, /contact)
4. The contactform.php contains the form.

Alternatively, you can modify contactform.php to have the same look of your web site.


Customizing the form

If you want to add one more file upload box, do the following:

1. open contactus.php in a text editor
2. Add the HTML code for the file upload box(just like the existing one for the photo). Gove another unique name and id for the file upload box

<div class='container'> <label for='photo' >Another upload:</label><br/> <input type="file" name='newupload' id='newupload' /><br/> <span id='contactus_newupload_errorloc' class='error'></span> </div>

Add one more line on the top of the contactus.php

$formproc->AddFileUploadField('photo','jpg,jpeg,gif,png,bmp',2024);
$formproc->AddFileUploadField('resume','doc,docx,pdf,txt',2024);
$formproc->AddFileUploadField('newupload','',2024);//<<------- New file upload

You can edit the contact.css file to change the style of the form.


Free contact form with file upload support and captcha from freegive.co.uk
Please help spread the word by linking to Freegive at ( http://www.freegive.co.uk ) from your website or go to "Add Freegive To Your Site" page. Thanks for your interest in Freegive.





  © Freegive | About us | Privacy and safety | Advertise with us | Contact us | More Freegive How to avoid scams and fraud    Site Map