twzContact

twzContact is a PHP script that makes it easy to create a secure, custom contact page on your web site. A contact page allows your visitors to enter details into a form which generates an email to you, containing the details entered. The visitor (or any spambot) cannot find out your email address from this page.

sample twzContact form

All the settings for twzContact are stored in a plain text file, which can be as simple as this:

[Email Options]
ToAddress = jsmith@example.com.au

[Fields]
name = text
comment = textarea

Many different field types are supported, including drop-down list, popup calendar, file upload, captcha validation and fieldsets.

For more information, see the demo or twzContact documentation.

twzContact
Version:

2.5.0

Licence:

freeware

Requires:

PHP5+

Filename:

twzContact_v250.zip

File date: 

2010-09-13



The current version of twzContact requires PHP5 or later. The last version compatible with PHP4 is v2.4.3 (2010-07-21), and is still available here:

twzContact v2.4.3
Version:

2.4.3

Licence:

freeware

Requires:

PHP4+

Filename:

twzContact_v243.zip

File date: 

2010-09-13


Sami
Comment
Help with twzContact?
Reply #1 on : Thu July 22, 2010, 05:05:23
I am having a hard time implementing a file uploading field on my form - I keep getting the error "File: File could not be uploaded."

My General Setting:
UploadDir = ../temp/resume/

I've also attempted to upload to ../resume, resume, /resume, and other variations. PHP5 is enabled on my server.

What am I doing wrong?
admin
Comment
Re: twzContact
Reply #2 on : Thu July 22, 2010, 10:53:30
@Sami - firstly make sure the resume directory exists. Is it a large file you're trying to upload? You could try temporarily turning on PHP warnings, which will hopefully tell you what the problem is. To do this, add

error_reporting(E_ALL);

before the require_once() command in the include text (make sure you remove this once your site is live)
Lasse
Comment
help?
Reply #3 on : Thu December 09, 2010, 05:03:55
i´m complete novis to php, how do i get the twzContact up on my website?
tony
Comment
re: help?
Reply #4 on : Thu December 09, 2010, 11:02:24
Hi Lasse
You'll find full instructions at the documentation link above. If you're unable to follow them I'd be glad to answer any specific question you have; otherwise you may need to hire a web developer to help you with installation and setup.
Last Edit: December 09, 2010, 11:02:56 by tony  
Jeff
Comment
error message
Reply #5 on : Wed July 13, 2011, 14:51:04
I am getting an error message as follows:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/9-web/9c/f0/website.com.au/public/www/load/twzContact.php on line 14

Can you help
tony
Comment
Re: twzContact
Reply #6 on : Wed July 13, 2011, 15:53:14
What version of twzContact do you have, and what version of PHP is on your server? You need PHP5 or later to run twzContact v2.5; if you only have PHP4 you'll need to use twzContact v2.4.3.

If you let me know what versions you have, I can send you a modified copy of twzContact.php to help track down the problem.
jeff
Comment
rerror message
Reply #7 on : Wed July 13, 2011, 16:23:38
thanks tony

I have v2.5 and my current server has PHP4 will be upgrading later after site setup and testing. Would appreciate modified copy to get started.

Jeff
tony
Comment
Re: twzContact
Reply #8 on : Wed July 13, 2011, 16:59:31
Hi Jeff
If you want it working before upgrading to PHP5, you'll need to download v2.4.3 from the link above. That version will also work with PHP5 after you upgrade, or you can switch over to v2.5 later.

Write a comment

  • Required fields are marked with *.

If you have trouble reading the code, click on the code itself to generate a new random code.