[Pro] PHP Feedback Form

I have built a form in a table and applied the PHP Feedback form as well as on the page itself… don’t think I need both is probably issue 1.

I am not receiving the form when I test it…
www.ntrha.com/ntrhajoinnow.html is the page.

I have made an error and success page and the success page seems to work fine. Have not been directed to the error page.

Thanks so much for any and all help!


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

You are correct in that you do not/should not add the action to the page and the table. Only do 1 or the other.

Looking at your form I can see that you have not named your email field correctly - with it selected on your FW page look in the inspector, 3rd tab, you have the Name value of Email Address - it should be ‘email’ no quotes but case sensitive.

If you also change your First Name and Last Name fields to a single name field with the Name value of ‘name’ no quotes but case sensitive. Then when you receive an email it will have the name of the person that filled in their name in the From box.

Make those changes and try again.

If you happen to be hosted with GoDaddy then you are in for some brain pain - I hope you aren’t!

David


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

Not with Go Daddy… Yea!! (Network Solutions on this one)

Ok, fixed the form action to just on the table.

Fixed the email field.

To double check on the name fields… I did two fields to make it easier
to import into our database which uses a first and last name separately.
Is that not the way I should do it?

I went ahead and changed per your instructions and tested…

Still have not received an email… no error… went to success page
again, but no email to me. Double checked the email and it is working…

More help please Mr. Guru Dave.

Thanks!
Darlene

Darlene Miller
email@hidden

On 9/22/11 5:58 PM, “DeltaDave” email@hidden wrote:

You are correct in that you do not/should not add the action to the page
and the table. Only do 1 or the other.

Looking at your form I can see that you have not named your email field
correctly - with it selected on your FW page look in the inspector, 3rd
tab, you have the Name value of Email Address - it should be ‘email’ no
quotes but case sensitive.

If you also change your First Name and Last Name fields to a single name
field with the Name value of ‘name’ no quotes but case sensitive. Then
when you receive an email it will have the name of the person that
filled in their name in the From box.

Make those changes and try again.

If you happen to be hosted with GoDaddy then you are in for some brain
pain - I hope you aren’t!

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

Can you change the database? There was an article on A List Apart last month saying that (especially for international sites) the single field is better, more user-friendly, and in some cases, all you need. (Icelanders – not just Björk – are known for having single names.)

Walter

On Sep 22, 2011, at 7:43 PM, Darlene Miller wrote:

To double check on the name fields… I did two fields to make it easier
to import into our database which uses a first and last name separately.
Is that not the way I should do it?


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

Ok - we can make that work no problem. Thanks for the insight.

I still can’t get the form to email to me however… any more great
wisdom?! :slight_smile: www.ntrha.com/joinnow.html

Thanks so much,
Darlene

Darlene Miller
email@hidden

On 9/22/11 9:04 PM, “Walter Lee Davis” email@hidden wrote:

Can you change the database? There was an article on A List Apart last
month saying that (especially for international sites) the single field
is better, more user-friendly, and in some cases, all you need.
(Icelanders – not just Björk – are known for having single names.)

Walter

On Sep 22, 2011, at 7:43 PM, Darlene Miller wrote:

To double check on the name fields… I did two fields to make it easier
to import into our database which uses a first and last name separately.
Is that not the way I should do it?


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

We would need to see your joinnow-go.php file, and you’d best post it on Pastie or Gist rather than copying and pasting it here. PHP code cannot just be read from a (properly-configured) Web server the way you can View Source of a normal HTML page – it gets turned into HTML first, and all of the programming gets run and stripped out. In some cases, the only thing left over is one or more empty line-breaks.

Walter

On Sep 22, 2011, at 10:12 PM, Darlene Miller wrote:

Ok - we can make that work no problem. Thanks for the insight.

I still can’t get the form to email to me however… any more great
wisdom?! :slight_smile: www.ntrha.com/joinnow.html

Thanks so much,
Darlene

Darlene Miller
email@hidden

On 9/22/11 9:04 PM, “Walter Lee Davis” email@hidden wrote:

Can you change the database? There was an article on A List Apart last
month saying that (especially for international sites) the single field
is better, more user-friendly, and in some cases, all you need.
(Icelanders – not just Björk – are known for having single names.)

Walter

On Sep 22, 2011, at 7:43 PM, Darlene Miller wrote:

To double check on the name fields… I did two fields to make it easier
to import into our database which uses a first and last name separately.
Is that not the way I should do it?


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


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

Hi Dave,

I took your advice from last week and got another web hosting company who is great. The php form worked immediately.
Thanks
Emily

On Sep 22, 2011, at 5:58 PM, DeltaDave wrote:

You are correct in that you do not/should not add the action to the page and the table. Only do 1 or the other.

Looking at your form I can see that you have not named your email field correctly - with it selected on your FW page look in the inspector, 3rd tab, you have the Name value of Email Address - it should be ‘email’ no quotes but case sensitive.

If you also change your First Name and Last Name fields to a single name field with the Name value of ‘name’ no quotes but case sensitive. Then when you receive an email it will have the name of the person that filled in their name in the From box.

Make those changes and try again.

If you happen to be hosted with GoDaddy then you are in for some brain pain - I hope you aren’t!

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

Hmmm. Well that’s beyond my pay grade. Where would I find that file? I
looked on the FTP site and did not find anything named similar to your
example. Can I attach it in a text edit and attach it? After we find it…
of course. :slight_smile:

While I’m here… do you have any insight to getting things unified across
browsers? (Don’t laugh… I know this one that makes everyone crazy). I
seem to have the most trouble getting things right for… yep you guessed
it GOOGLE CHROME! But there are thing across Firefox, Safari and others.

Thanks so much once again.

Darlene Miller
email@hidden

On 9/22/11 9:24 PM, “Walter Lee Davis” email@hidden wrote:

We would need to see your joinnow-go.php file, and you’d best post it on
Pastie or Gist rather than copying and pasting it here. PHP code cannot
just be read from a (properly-configured) Web server the way you can View
Source of a normal HTML page – it gets turned into HTML first, and all
of the programming gets run and stripped out. In some cases, the only
thing left over is one or more empty line-breaks.

Walter

On Sep 22, 2011, at 10:12 PM, Darlene Miller wrote:

Ok - we can make that work no problem. Thanks for the insight.

I still can’t get the form to email to me however… any more great
wisdom?! :slight_smile: www.ntrha.com/joinnow.html

Thanks so much,
Darlene

Darlene Miller
email@hidden

On 9/22/11 9:04 PM, “Walter Lee Davis” email@hidden wrote:

Can you change the database? There was an article on A List Apart last
month saying that (especially for international sites) the single field
is better, more user-friendly, and in some cases, all you need.
(Icelanders – not just Björk – are known for having single names.)

Walter

On Sep 22, 2011, at 7:43 PM, Darlene Miller wrote:

To double check on the name fields… I did two fields to make it
easier
to import into our database which uses a first and last name
separately.
Is that not the way I should do it?


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


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

If you are using Tim Plumb’s PHP Feedback Form to process your form entries (as the subject of this thread indicates) then that file will be somewhere in your site folder. The Action takes the name of your form page, strips off the .html, and replaces it with -go.php, and generates that file whenever you publish. It’s either going to be inside your Resources folder or directly in the same level of the Site Folder as the joinnow.html file.

Open that file with a text editor, select all, copy. Go to http://pastie.org and paste. Choose PHP as the Language. Press the Save button, and you will get a new page with a unique URL. Copy that URL, and paste it into your e-mail or Web forum reply, all by itself on a separate line. The Mailist software will convert it into an inline code view, showing your form handler with proper line breaks, indenting, and color coding.

Walter

On Sep 22, 2011, at 10:53 PM, Darlene Miller wrote:

Hmmm. Well that’s beyond my pay grade. Where would I find that file? I
looked on the FTP site and did not find anything named similar to your
example. Can I attach it in a text edit and attach it? After we find it…
of course. :slight_smile:

While I’m here… do you have any insight to getting things unified across
browsers? (Don’t laugh… I know this one that makes everyone crazy). I
seem to have the most trouble getting things right for… yep you guessed
it GOOGLE CHROME! But there are thing across Firefox, Safari and others.

Thanks so much once again.

Darlene Miller
email@hidden

On 9/22/11 9:24 PM, “Walter Lee Davis” email@hidden wrote:

We would need to see your joinnow-go.php file, and you’d best post it on
Pastie or Gist rather than copying and pasting it here. PHP code cannot
just be read from a (properly-configured) Web server the way you can View
Source of a normal HTML page – it gets turned into HTML first, and all
of the programming gets run and stripped out. In some cases, the only
thing left over is one or more empty line-breaks.

Walter

On Sep 22, 2011, at 10:12 PM, Darlene Miller wrote:

Ok - we can make that work no problem. Thanks for the insight.

I still can’t get the form to email to me however… any more great
wisdom?! :slight_smile: www.ntrha.com/joinnow.html

Thanks so much,
Darlene

Darlene Miller
email@hidden

On 9/22/11 9:04 PM, “Walter Lee Davis” email@hidden wrote:

Can you change the database? There was an article on A List Apart last
month saying that (especially for international sites) the single field
is better, more user-friendly, and in some cases, all you need.
(Icelanders – not just Björk – are known for having single names.)

Walter

On Sep 22, 2011, at 7:43 PM, Darlene Miller wrote:

To double check on the name fields… I did two fields to make it
easier
to import into our database which uses a first and last name
separately.
Is that not the way I should do it?


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


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


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

http://pastie.org/2577266

You’re AWESOME! I learn so much from you guys!

Darlene Miller
email@hidden

On 9/22/11 10:01 PM, “Walter Lee Davis” email@hidden wrote:

If you are using Tim Plumb’s PHP Feedback Form to process your form
entries (as the subject of this thread indicates) then that file will be
somewhere in your site folder. The Action takes the name of your form
page, strips off the .html, and replaces it with -go.php, and generates
that file whenever you publish. It’s either going to be inside your
Resources folder or directly in the same level of the Site Folder as the
joinnow.html file.

Open that file with a text editor, select all, copy. Go to
http://pastie.org and paste. Choose PHP as the Language. Press the Save
button, and you will get a new page with a unique URL. Copy that URL, and
paste it into your e-mail or Web forum reply, all by itself on a separate
line. The Mailist software will convert it into an inline code view,
showing your form handler with proper line breaks, indenting, and color
coding.

Walter

On Sep 22, 2011, at 10:53 PM, Darlene Miller wrote:

Hmmm. Well that’s beyond my pay grade. Where would I find that file? I
looked on the FTP site and did not find anything named similar to your
example. Can I attach it in a text edit and attach it? After we find
it…
of course. :slight_smile:

While I’m here… do you have any insight to getting things unified
across
browsers? (Don’t laugh… I know this one that makes everyone crazy). I
seem to have the most trouble getting things right for… yep you
guessed
it GOOGLE CHROME! But there are thing across Firefox, Safari and others.

Thanks so much once again.

Darlene Miller
email@hidden

On 9/22/11 9:24 PM, “Walter Lee Davis” email@hidden wrote:

We would need to see your joinnow-go.php file, and you’d best post it
on
Pastie or Gist rather than copying and pasting it here. PHP code cannot
just be read from a (properly-configured) Web server the way you can
View
Source of a normal HTML page – it gets turned into HTML first, and all
of the programming gets run and stripped out. In some cases, the only
thing left over is one or more empty line-breaks.

Walter

On Sep 22, 2011, at 10:12 PM, Darlene Miller wrote:

Ok - we can make that work no problem. Thanks for the insight.

I still can’t get the form to email to me however… any more great
wisdom?! :slight_smile: www.ntrha.com/joinnow.html

Thanks so much,
Darlene

Darlene Miller
email@hidden

On 9/22/11 9:04 PM, “Walter Lee Davis” email@hidden wrote:

Can you change the database? There was an article on A List Apart
last
month saying that (especially for international sites) the single
field
is better, more user-friendly, and in some cases, all you need.
(Icelanders – not just Björk – are known for having single names.)

Walter

On Sep 22, 2011, at 7:43 PM, Darlene Miller wrote:

To double check on the name fields… I did two fields to make it
easier
to import into our database which uses a first and last name
separately.
Is that not the way I should do it?


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


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


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

Looking at this, it seems to be sending to your.name @ ntrha.com. If that looks right, then you might want to check your Spam folder or ask your hosting provider if they have any special requirements to send mail from that Web server.

Walter

On Sep 22, 2011, at 11:09 PM, Darlene Miller wrote:

http://pastie.org/2577266

You’re AWESOME! I learn so much from you guys!

Darlene Miller
email@hidden


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

Hmm! - this is not the cause of your emailn not being sent/received but you have some funny named pages here

‘error.html.html’

Does it really say that in the file name box for this page in the inspector? If it does then you must have changed these yourself.

This is bound to trip up some servers - go through your site and check these particularly the thankyou and error pages.

do you have any insight to getting things unified across browsers?

What differences are you seeing in Chrome?

D


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

Ok, fixed the error page and the thank you page. Not sure how that
happened? They are now just error and just thankyou.

Still no email response? :frowning: This site is on Network Solutions and is on
a Unix package and is PHP friendly I’m told…

Should I send a new PHP link to look at?

As to the Google thing… the fonts are larger, the spacing between not
only sentences but letters and words themselves are larger as well… text
therefore will run over where it does not on Firefox or Safari… weird
little things like that…

Thanks so much as usual!
Darlene

Darlene Miller
email@hidden

On 9/23/11 1:18 AM, “DeltaDave” email@hidden wrote:

Hmm! - this is not the cause of your emailn not being sent/received but
you have some funny named pages here

‘error.html.html’

Does it really say that in the file name box for this page in the
inspector? If it does then you must have changed these yourself.

This is bound to trip up some servers - go through your site and check
these particularly the thankyou and error pages.

do you have any insight to getting things unified across browsers?

What differences are you seeing in Chrome?

D


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

Does that e-mail address work?

Here’s a test script you can try from this server, and see if it works. Copy the following, paste it into a new text document (use TextEdit in Plain Text mode, or TextWrangler) and save it as a cryptic name, like asdsad8u.php. Use an FTP or SFTP application to place it on your server. Then go to that address in a browser. See if you get an e-mail message. Either way, delete the file so it’s not hanging around on your server.

<?php
$address = 'youraddresshere';
mail(
	$address,
	'Test message from the server',
	'This message was sent from your server',
	"From: {$address}",
	"-f{$address}"
);
print 'Message sent';
?>

Walter

On Sep 22, 2011, at 10:12 PM, Darlene Miller wrote:

Ok - we can make that work no problem. Thanks for the insight.

I still can’t get the form to email to me however… any more great
wisdom?! :slight_smile: www.ntrha.com/joinnow.html


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

I don’t seem to be able to pull it up to test it… I called it
jfoisrj.php and put it in the .php folder on my site.

I have double checked the emails and they are working. I have had that
email for about 5 years. I also tried changing the respond to email to one
without the period in it just to see… changed to email@hidden.
Still no luck.

It’s a conspiracy I tell ya! :slight_smile:

More ingenious assistance please!

Darlene Miller
email@hidden

On 9/23/11 12:30 PM, “Walter Lee Davis” email@hidden wrote:

Does that e-mail address work?

Here’s a test script you can try from this server, and see if it works.
Copy the following, paste it into a new text document (use TextEdit in
Plain Text mode, or TextWrangler) and save it as a cryptic name, like
asdsad8u.php. Use an FTP or SFTP application to place it on your server.
Then go to that address in a browser. See if you get an e-mail message.
Either way, delete the file so it’s not hanging around on your server.

<?php
$address = 'youraddresshere';
mail(
	$address,
	'Test message from the server',
	'This message was sent from your server',
	"From: {$address}",
	"-f{$address}"
);
print 'Message sent';
?>

Walter

On Sep 22, 2011, at 10:12 PM, Darlene Miller wrote:

Ok - we can make that work no problem. Thanks for the insight.

I still can’t get the form to email to me however… any more great
wisdom?! :slight_smile: www.ntrha.com/joinnow.html


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 don’t seem to be able to pull it up to test it… I called it jfoisrj.php and put it in the .php folder on my site.

That file can go on your server next to your other HTML files ie at yoursite.com/jfoirsj.php

D


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

Ok… I finally got back to this.

I was able to do the test. It said Message Sent. But I have not received
it…

Of course now it’s becoming more critical that I get this working so any
further help is much appreciated!

Thanks so much!!!
Darlene

On 9/23/11 4:10 PM, “DeltaDave” email@hidden wrote:

I don¹t seem to be able to pull it up to test itŠ I called it
jfoisrj.php and put it in the .php folder on my site.

That file can go on your server next to your other HTML files ie at
yoursite.com/jfoirsj.php

D


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

OHHHHH. I LIED!!! IT JUST CAME THROUGH.

So what does that mean I need to fix on the form to get it work?

Thanks again!!!
Darlene

On 9/23/11 4:10 PM, “DeltaDave” email@hidden wrote:

I don¹t seem to be able to pull it up to test itŠ I called it
jfoisrj.php and put it in the .php folder on my site.

That file can go on your server next to your other HTML files ie at
yoursite.com/jfoirsj.php

D


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

Based on a new reading of the pastie you posted earlier, it appears that this particular version of the Action isn’t creating a mail function with the fifth variable in place. If you look at my test script, you’ll see that I set it to send the -f flag to sendmail:

mail(
	'ToAddress',
	'Subject Line',
	'Body of the message'
	'Headers',
	'-fFromAddress'
);

The fifth variable is optional, there’s no reason to set it if you aren’t required to use it. But some servers do require it, and I am guessing that yours is one of those.

First, see if you have the latest version of the Action. Check at http://freewayactions.com and see. Second, read through the documentation that comes with the Action, as well as on Tim’s site, and see if there is an option to add that sendmail flag at the end of the mail function call. If neither of those options obtains, try contacting Tim directly. He’s very attentive to these issues, and has done heroic efforts to make the Action as plug-and-play as possible, even in hopeless situations like GoDaddy hosting.

Walter

On Sep 28, 2011, at 3:18 PM, Darlene Miller wrote:

OHHHHH. I LIED!!! IT JUST CAME THROUGH.

So what does that mean I need to fix on the form to get it work?

Thanks again!!!
Darlene

On 9/23/11 4:10 PM, “DeltaDave” email@hidden wrote:

I don¹t seem to be able to pull it up to test itŠ I called it
jfoisrj.php and put it in the .php folder on my site.

That file can go on your server next to your other HTML files ie at
yoursite.com/jfoirsj.php

D


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


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

YEA!!! THAT DID IT!

Thanks so much!

Darlene

On 9/28/11 3:30 PM, “Walter Lee Davis” email@hidden wrote:

Based on a new reading of the pastie you posted earlier, it appears that
this particular version of the Action isn’t creating a mail function with
the fifth variable in place. If you look at my test script, you’ll see
that I set it to send the -f flag to sendmail:

mail(
‘ToAddress’,
‘Subject Line’,
‘Body of the message’
‘Headers’,
‘-fFromAddress’
);

The fifth variable is optional, there’s no reason to set it if you aren’t
required to use it. But some servers do require it, and I am guessing
that yours is one of those.

First, see if you have the latest version of the Action. Check at
http://freewayactions.com and see. Second, read through the documentation
that comes with the Action, as well as on Tim’s site, and see if there is
an option to add that sendmail flag at the end of the mail function call.
If neither of those options obtains, try contacting Tim directly. He’s
very attentive to these issues, and has done heroic efforts to make the
Action as plug-and-play as possible, even in hopeless situations like
GoDaddy hosting.

Walter

On Sep 28, 2011, at 3:18 PM, Darlene Miller wrote:

OHHHHH. I LIED!!! IT JUST CAME THROUGH.

So what does that mean I need to fix on the form to get it work?

Thanks again!!!
Darlene

On 9/23/11 4:10 PM, “DeltaDave” email@hidden wrote:

I don¹t seem to be able to pull it up to test itŠ I called it
jfoisrj.php and put it in the .php folder on my site.

That file can go on your server next to your other HTML files ie at
yoursite.com/jfoirsj.php

D


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


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