New Send Form Action in FW 6 vs PHP Feedback Form?

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.)

Any thoughts?

Thanks.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

They are essentially the same action but Send form includes Html5 elements

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you, David.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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

What could be the problem?

Steven


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

@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?

SteveH


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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?

SteveH


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

@SteveH,

Yes, all the pages are in HTML 5. Do you think the problem is the php extesion?

Steven


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 12 Mar 2013, 3:13 pm, Steven wrote:

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


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

We would need to see the contents of FW_SendForm_contact.php to try and help further

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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! :wink:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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.

Thanks for your help people.

Steven


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

At 11:27 -0400 12/3/13, Walter Lee Davis wrote:

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


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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.

Thanks for your help people.

Steven


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I have put a plain text file on my server. see:
http://www.ikorganiseermeer.nl/phpinfo.php

Steven

On 12 Mar 2013, 5:04 pm, waltd wrote:

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.

Thanks for your help people.

Steven


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Steven,

OK - Can you post the URL of your contact form?

It would also be useful to see the FW6 file (perhaps copy just the contact page, error page and success page to a new site and post a link to that.)

That way we can try it out on known working PHP 5 servers.

SteveH


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Okay, please take it back down before anyone malicious reads it.

Walter

On Mar 12, 2013, at 1:44 PM, Steven wrote:

I have put a plain text file on my server. see:
http://www.ikorganiseermeer.nl/phpinfo.php

Steven

On 12 Mar 2013, 5:04 pm, waltd wrote:

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.

Thanks for your help people.

Steven


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You need to be running 5.2 or better to use this script, according to this page: http://www.php.net/manual/en/filter.installation.php

Walter

On Mar 12, 2013, at 1:44 PM, Steven wrote:

I have put a plain text file on my server. see:
http://www.ikorganiseermeer.nl/phpinfo.php

Steven

On 12 Mar 2013, 5:04 pm, waltd wrote:

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.

Thanks for your help people.

Steven


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options