Frequently Asked Questions
See also: php Tips and Tricks
- How to unlock the Free Version
- Where do I find the User Manual?
- Setup Error: "Setup files are corrupted"
- I always get the error page when I test the form on my local computer
- What's the difference between the Free and the Licensed Version?
- How can the Captcha work without Cookies and third party plug-ins?
- How is the script protected against mail header injections?
- My Form has multiple Pages. Can I place the "Submit" button on the first page?
- Can I edit the .php file in my HTML editor?
- HTML or XHTML?
- I have uploaded the form to my hosted webserver, but no mail will be sent
- How can I change the sender of the email?
- Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}'
- Warning: Cannot modify header information - headers already sent
- The captcha image will not be shown (a broken image icon will be shown instead)
- Missing or invalid characters in web forms using the charset utf-8
- Can I use an iframe?
- Error Message: PHP mbstring not enabled
- The captcha image disappears after a few seconds
- How can I change the background color?
- Additional backsklashs in backslashs, quotes and apostrophes
- How to use an Image as Button
How to unlock the Free Version
Please click on "License & Update", enter
the license key and click on "Validate
Where do I find the User Manual?
Setup Error: "Setup files are corrupted"
Please clear your browser cache and retry to download
It could be a transmission error over the net.
You can also use our alternate download (zip-compressed setup) or our alternate download server.
In some cases it also helps if you rename the newly download file, e.g. to awebform2.exe.
If you get this error message for every application you try to install, then the windows installer on your computer might be damaged.
I always get the error page when I test the form on my local computer
Important: If you are testing the form on your local machine, e.g. using XAMP, then you might always get the error page and NO mail will be sent. The reason is, that sendmail will not work on some local machines using a dynamic IP address, because most mailexchangers are blocking dynamic IP address ranges. Please upload the form to your webserver and run it there.
What's the difference between the Free and the Licensed Version?
The Free Version is fully functional, but adds a reference to "Arclab Web Form Builder" at the bottom of the form.
How can the Captcha work without Cookies and third party plug-ins?
The program uses php Sessions, which are temporary
saved values on the server. The session ID will be
passed along with the URL. The key code is random for
each Captcha, encrypted and saved out of reach for bots.
The session ID is shown in the browser URL, but useless
for an attacker. It cannot be used to submit the form
twice. The session values on the server are NOT used for
regular input fields!
It will work with Cookies turned off completely!
How is the script protected against php mail header injections?
There is one golden rule agains injections of all kind - never use unfiltered user input.
Arclab Web Form Builder is protected against such an attack in multiple ways:
It checks the email address for the correct syntax if you use the "Email Address Input Element" in the program. Arclab Web Form Builder uses a second filter function in addition to the email syntax verification to filter all mail header elements.
Please take a look at: How to protect a php Email Form using php mail or mb_send_mail against Mail Header Injection for details.
My Form has multiple Pages. Can I place the "Submit" button on the first page?
No, the "Submit" button should be placed on
the last Form Page.
The script will not accept form submissions from other pages.
Please note: If you use a Captcha then the Captcha should also be included on the last Form Page!
Can I edit the .php file in my HTML editor?
No, the .php file cannot be edited. Please reload the form in the program and make the changes. If you want to change the HTML template, in which the form was embedded, then edit the HTML template file in your HTML editor, reload the HTML template in the "Form Properties" and re-create the .php file using the program.
HTML or XHTML?
The program supports both. It closes all tags, e.g.
<p> ... </p>
<div> ... </div>
<input ... />
I have uploaded the form to my hosted webserver, but no mail will be sent
Please make sure, that you have entered the correct
email address as "Recipient" in the "Form
Some hosted webservers require that you define a default sender email address in the webserver configuration before you can use any php-formmailer. You need to define the default sender in the webserver configuration - not inside the program or the php-form! The php-script should work fine after you have defined a default sender. Please also take a look at the help pages and FAQ of your webhosting service.
How can I change the sender of the email?
Thats easy, just define a variable [Email] in your
Please take a look at the user manual: Sender for details.
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}'
You will get this error, if you have installed an
older php version e.g. 4.4.9, which does not fully
support object oriented programming.
Please update your php version to 5 - most providers already use php5 or you can change the php version in the settings of your web server.
Important: Some web
providers have installed e.g. php version 4 AND 5
at the same time.
Please try to rename the php file (change the extension) if you get the above error.
Change the extension of the php file created by the program from .php to .php5 e.g. rename webform.php to webform.php5
Warning: Cannot modify header information – headers already sent
The captcha image will not be shown (a broken image icon will be shown instead)
This indicates, that PHP SESSIONS are not enabled on
your web server.
Please enable PHP SESSIONS, if you want to use a captcha in your form.
e.g. if the session.save_path is not setup correctly in the php.ini then PHP sessions will not work
session.save_path = /xxx/.../phpsessions - Make sure, that you enter the valid path here! -
Please refer to the documentation of your webspace or contact your webhost provider how to enable php sessions for your webspace.
If you are using "php include" and you are sure, that PHP sessions are already enabled, then you should specify the "Captcha Self-Referential URL" in the "Form Properties -> Style and Layout -> Input Elements". See: Captcha Self-Referential URL for details
Missing or invalid characters in web forms using the charset utf-8
This can happen if you are using php include and
the php host page does not use utf-8.
You can check the charset for your php host page here: http://validator.w3.org/i18n-checker/
Please change the charset of the host page to utf-8 to solve this problem.
Can I use an iframe?
Yes, you can also use an iframe to include the
webform into an existing HTML page.
Please take a look at: User Manual -> iframe for details.
Error Message: PHP mbstring not enabled
The problem is, that the php mbstring extension -
which is required for utf-8/unicode php functions - is
not installed on your webserver. This cannot be fixed in
the form, its a configuration issue on the webserver
Please refer to the information of your webhost provider how to enable/install the mbstring php extension and contact your webadministrator or hosting provider regarding this issue if you cannot get it to work.
The captcha image disappears after a few seconds
We have reports about this problem from users using
Google Chrome. It seems to be a problem with Google
Chrome and the php image function. Its recommended to
update the php version if your form has the same
problem. (This is not a error in the form, its an issue
with php and Chrome).
Please contact your webprovider if you don't know how to update php to a newer version!
How can I change the background color?
The form is transparent and has no background
color, so you need to change the background color of the element
hosting the form.
See: How to change the background color
Additional backslashs in backslashs, quotes and apostrophes
If you find additional backslashs on backslashs, quotes and apostrophes then
magic_quotes might be turned on.
magic_quotes are DEPRECATED and should no longer been used.
Please disable magic_quotes in your PHP configuration to fix this issue.
Please take a look at the php.net manual for details.
How to use an Image as Button
- Add a button and go to the section "Button Style".
Important: Do NOT remove the text from the button e.g. "Next".
You can remove button text using CSS code!
- Select "<Default Browser Style>" to clear all previous
- Go to section "Custom Style".
- Select the button, e.g. click on "Next" and add the
following CSS code:
background-image: url("http://www.yourdomain.tld/image/next-button.png"); /* or "/image/next-button.png" */
width: 60px; /* image-width */
height: 20px; /* image-height */
text-indent: -9999px; /* remove text from button */
- Specify a different image for e.g. "Next-Hover" to show a
hover effect (different image)
- See also: Cross-Browser-Compatible Button Styles using CSS code
Please contact us if you cannot find an answer to your question here