I may upgrade to FW Pro 6 shortly. I’ve always used the PHP Feedback Form and wonder if there is an advantage to using one over the other. (Just watched the FW 6 video on this, but the example it uses is pretty simple. I once had to do an entire online jobs application form and don’t know if the new Send Form would work as effectively.)
I also used FW6 video to make a send form. The only problem i don’t get it to work. When i used it online and fill the form and send it, ii get a blanco page, see the link below. http://www.ikorganiseermeer.nl/FW_SendForm_contact.php
Hi, have you changed the page output to HTML5? Also, on my hosting service (NAMESCO) it does not seem to matter if I use .html or .php for the page extension.
The new video tutorial for FW6 seems to imply a .html ending should be used now - clarification on this anyone?
Whether you use the new Send Form Action or the PHP Feedback Form Action (which was the inspiration for SF) there is no need to make the form page a PHP page. That was an error in the early documentation for PHP Feedback Form that has carried over to current days. The Action writes a PHP form handler and uploads it to your server. So you do need to have a working PHP server. But the form page itself can (and should, for your convenience if nothing else) be plain HTML.
Walter
On Mar 12, 2013, at 8:36 AM, SteveH wrote:
@Steven
Hi, have you changed the page output to HTML5? Also, on my hosting service (NAMESCO) it does not seem to matter if I use .html or .php for the page extension.
The new video tutorial for FW6 seems to imply a .html ending should be used now - clarification on this anyone?
As Walter has said the file extension is irrelevant but a .php extension will mean you cannot preview your form page on your Mac - it will need to uploaded.
While you can preview your form page locally it will not work unless hosted on a PHP enabled server.
Hi, my Hosting suupport PHP. When ik look into the errorlog on my Hosting i see this error:
[Tue Mar 12 15:50:47 2013] [error] [client 83.84.198.87] PHP Notice: Use of undefined constant INPUT_POST - assumed ‘INPUT_POST’ in /var/www/vhosts/ikorganiseermeer.nl/httpdocs/FW_SendForm_contact.php on line 91, referer: http://www.ikorganiseermeer.nl/contact.html
Hi, my Hosting suupport PHP. When ik look into the errorlog on my Hosting i see this error:
[Tue Mar 12 15:50:47 2013] [error] [client 83.84.198.87] PHP Notice: Use of undefined constant INPUT_POST - assumed ‘INPUT_POST’ in /var/www/vhosts/ikorganiseermeer.nl/httpdocs/FW_SendForm_contact.php on line 91, referer: http://www.ikorganiseermeer.nl/contact.html
and this one:
[Tue Mar 12 16:01:00 2013] [error] [client 82.132.246.176] PHP Fatal error: Call to undefined function filter_has_var() in /var/www/vhosts/ikorganiseermeer.nl/httpdocs/FW_SendForm_contact.php on line 109
This feature (filter_input) is only present in PHP 5 and up. Your host may still be using PHP 4, which argues strenuously for a newer host. PHP 4 has been dead for a large number of years, no further security work is being done on it.
Walter
On Mar 12, 2013, at 11:06 AM, DeltaDave wrote:
Do you think the problem is the php extesion?
No - but does your hosting plan support PHP?
As Walter has said the file extension is irrelevant but a .php extension will mean you cannot preview your form page on your Mac - it will need to uploaded.
While you can preview your form page locally it will not work unless hosted on a PHP enabled server.
You beat me to it Walter! I’ve just checked my own version of FW_SendForm_contact.php (found in the Site folder) and can see nothing wrong (not that I’m a PHP expert).
If you do change host it seems to be a good idea to avoid GoDaddy!
This feature (filter_input) is only present in PHP 5 and up. Your
host may still be using PHP 4, which argues strenuously for a newer
host. PHP 4 has been dead for a large number of years, no further
security work is being done on it.
On Mar 12, 2013, at 8:36 AM, SteveH wrote:
@Steven
Hi, have you changed the page output to HTML5? Also, on my hosting
service (NAMESCO) it does not seem to matter if I use .html or .php
for the page extension.>
NamesCo does provide PHP5, but if you may need to initiate an update
script if the site started with PHP4.
David
–
David Ledger - Freelance Unix Sysadmin in the UK.
email@hidden www.ivdcs.co.uk
The Send Form code is valid PHP 5. It runs on 5.3 without errors. (There are three NOTICE-level errors, but they are meaningless compared with what you saw on your server.)
Please put the following in a plain-text file, name it something mysterious.php, like asdfds7324.php, upload it to your server, and the browse to it. Pay careful attention to the version information, and whether the filter_input features are enabled.
<?php phpinfo(); ?>
Your host may indeed offer 5.3, but your account may not be using it. That’s the most reasonable explanation for the error you noted.
Walter
On Mar 12, 2013, at 12:40 PM, Steven wrote:
My Hosting, Hostnet using Php 5.3, so that could not be the problem?
I think i delete the send form on the contact page. Think my client won’t appresiate it, but something not working is also not good.
The Send Form code is valid PHP 5. It runs on 5.3 without errors. (There are three NOTICE-level errors, but they are meaningless compared with what you saw on your server.)
Please put the following in a plain-text file, name it something mysterious.php, like asdfds7324.php, upload it to your server, and the browse to it. Pay careful attention to the version information, and whether the filter_input features are enabled.
Your host may indeed offer 5.3, but your account may not be using it. That’s the most reasonable explanation for the error you noted.
Walter
On Mar 12, 2013, at 12:40 PM, Steven wrote:
My Hosting, Hostnet using Php 5.3, so that could not be the problem?
I think i delete the send form on the contact page. Think my client won’t appresiate it, but something not working is also not good.
The Send Form code is valid PHP 5. It runs on 5.3 without errors. (There are three NOTICE-level errors, but they are meaningless compared with what you saw on your server.)
Please put the following in a plain-text file, name it something mysterious.php, like asdfds7324.php, upload it to your server, and the browse to it. Pay careful attention to the version information, and whether the filter_input features are enabled.
Your host may indeed offer 5.3, but your account may not be using it. That’s the most reasonable explanation for the error you noted.
Walter
On Mar 12, 2013, at 12:40 PM, Steven wrote:
My Hosting, Hostnet using Php 5.3, so that could not be the problem?
I think i delete the send form on the contact page. Think my client won’t appresiate it, but something not working is also not good.
The Send Form code is valid PHP 5. It runs on 5.3 without errors. (There are three NOTICE-level errors, but they are meaningless compared with what you saw on your server.)
Please put the following in a plain-text file, name it something mysterious.php, like asdfds7324.php, upload it to your server, and the browse to it. Pay careful attention to the version information, and whether the filter_input features are enabled.
Your host may indeed offer 5.3, but your account may not be using it. That’s the most reasonable explanation for the error you noted.
Walter
On Mar 12, 2013, at 12:40 PM, Steven wrote:
My Hosting, Hostnet using Php 5.3, so that could not be the problem?
I think i delete the send form on the contact page. Think my client won’t appresiate it, but something not working is also not good.