# \[Pro\] Having trouble with a PHP feedback form

**URL:** <https://discourse.softpress.com/t/pro-having-trouble-with-a-php-feedback-form/15008>\
**Category:** Freeway\
**Created:** [September 4, 2012, 9:17am UTC](https://discourse.softpress.com/t/pro-having-trouble-with-a-php-feedback-form/15008 "2012-09-04T09:17:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joe\_Walkling](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/j/eb8c5e/32.png) [@Joe\_Walkling](https://discourse.softpress.com/u/Joe_Walkling)\
**Post date:** [September 4, 2012, 9:17am UTC](https://discourse.softpress.com/t/pro-having-trouble-with-a-php-feedback-form/15008/1 "2012-09-04T09:17:51Z")

</div>

Hi there,

I am having trouble with a very simple PHP feeback form on a website. All I need it for is so that visitors can add their email address to our mailing list. I have used this before with no problem but for some reason it isn’t working at all on this site. I’ve also created separate error pages (server, email, not in domain) but this hasn’t helped me solve the problem as it just redirects to the PHP script item.

Any help with this ridiculously simple problem would be hugely appreciated.

Thanks

Joe

[www.newmovement.org.uk](http://www.newmovement.org.uk)

* * *

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

---

<div class="post-metadata">

**Author:** ![waltd](https://discourse.softpress.com/user_avatar/discourse.softpress.com/waltd/32/2720_2.png) [@waltd](https://discourse.softpress.com/u/waltd)\
**Post date:** [September 4, 2012, 12:26pm UTC](https://discourse.softpress.com/t/pro-having-trouble-with-a-php-feedback-form/15008/2 "2012-09-04T12:26:08Z")

</div>

Can you post a link to the page with the form? I don’t see any forms on this site, although I haven’t really dug through every page. When you say you’ve had this working elsewhere – was that on the exact same server?

Walter

On Sep 4, 2012, at 5:17 AM, Joe Walkling wrote:

> Hi there,
> 
> I am having trouble with a very simple PHP feeback form on a website. All I need it for is so that visitors can add their email address to our mailing list. I have used this before with no problem but for some reason it isn’t working at all on this site. I’ve also created separate error pages (server, email, not in domain) but this hasn’t helped me solve the problem as it just redirects to the PHP script item.
> 
> Any help with this ridiculously simple problem would be hugely appreciated.
> 
> Thanks
> 
> Joe
> 
> [www.newmovement.org.uk](http://www.newmovement.org.uk)
> 
> * * *
> 
> freewaytalk mailing list  
> email@hidden  
> Update your subscriptions at:  
> [http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

* * *

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

---

<div class="post-metadata">

**Author:** ![Joe\_Walkling](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/j/eb8c5e/32.png) [@Joe\_Walkling](https://discourse.softpress.com/u/Joe_Walkling)\
**Post date:** [September 4, 2012, 12:47pm UTC](https://discourse.softpress.com/t/pro-having-trouble-with-a-php-feedback-form/15008/3 "2012-09-04T12:47:35Z")

</div>

It’s a single text field underneath the menu bar on the left hand side.  
The last time I used it was on a different server but when I looked at my 123-reg hosting it states that it supports php5.

* * *

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

---

<div class="post-metadata">

**Author:** ![waltd](https://discourse.softpress.com/user_avatar/discourse.softpress.com/waltd/32/2720_2.png) [@waltd](https://discourse.softpress.com/u/waltd)\
**Post date:** [September 4, 2012, 12:54pm UTC](https://discourse.softpress.com/t/pro-having-trouble-with-a-php-feedback-form/15008/4 "2012-09-04T12:54:00Z")

</div>

Can you post the contents of your index-go.php file on Gist or Pastie and paste the link to it here (all by itself on a single line, like this:)

> <https://gist.github.com/1>

The form looks to be set up correctly, for what it’s worth.

Walter

On Sep 4, 2012, at 8:47 AM, Joe Walkling wrote:

> It’s a single text field underneath the menu bar on the left hand side.  
> The last time I used it was on a different server but when I looked at my 123-reg hosting it states that it supports php5.
> 
> * * *
> 
> freewaytalk mailing list  
> email@hidden  
> Update your subscriptions at:  
> [http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

* * *

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

---

<div class="post-metadata">

**Author:** ![Joe\_Walkling](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/j/eb8c5e/32.png) [@Joe\_Walkling](https://discourse.softpress.com/u/Joe_Walkling)\
**Post date:** [September 4, 2012, 2:40pm UTC](https://discourse.softpress.com/t/pro-having-trouble-with-a-php-feedback-form/15008/5 "2012-09-04T14:40:06Z")

</div>

hi there  
here is the index-go.php content

> <https://gist.github.com/anonymous/811c346223228f4e40b5>

Joe

* * *

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

---

<div class="post-metadata">

**Author:** ![waltd](https://discourse.softpress.com/user_avatar/discourse.softpress.com/waltd/32/2720_2.png) [@waltd](https://discourse.softpress.com/u/waltd)\
**Post date:** [September 4, 2012, 3:13pm UTC](https://discourse.softpress.com/t/pro-having-trouble-with-a-php-feedback-form/15008/6 "2012-09-04T15:13:15Z")

</div>

Please put the following in a plain text file (use CodeWrangler or another programmer’s text editor, not Word or Pages or a word processing application) and name that file something cryptic like sdfsdaf.php (the .php is the only part that has to be that precisely). Upload the file into your Web root (next to the index.html file) and visit it in a browser: [http://example.com/sdfsdaf.php](http://example.com/sdfsdaf.php)

See what version of PHP you are running. If you want me to look it over, please e-mail me off-list with the actual link. If you’re not using mail to interact with this list, click on my name in the header of any message I’ve posted here to get to my contact information. If you are using mail, Control-click on my name in the From: header and choose Reply to Sender from the contextual menu.

Walter

On Sep 4, 2012, at 10:40 AM, Joe Walkling wrote:

> hi there  
> here is the index-go.php content
> 
> [new-movement · GitHub](https://gist.github.com/811c346223228f4e40b5)
> 
> Joe
> 
> * * *
> 
> freewaytalk mailing list  
> email@hidden  
> Update your subscriptions at:  
> [http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

* * *

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

---

<div class="post-metadata">

**Author:** ![waltd](https://discourse.softpress.com/user_avatar/discourse.softpress.com/waltd/32/2720_2.png) [@waltd](https://discourse.softpress.com/u/waltd)\
**Post date:** [September 4, 2012, 3:17pm UTC](https://discourse.softpress.com/t/pro-having-trouble-with-a-php-feedback-form/15008/7 "2012-09-04T15:17:43Z")

</div>

Duh. forgot the content of that file:

```
<?php
phpinfo();
?>

```

On Sep 4, 2012, at 11:13 AM, Walter Lee Davis wrote:

> Please put the following in a plain text file (use CodeWrangler or another programmer’s text editor, not Word or Pages or a word processing application) and name that file something cryptic like sdfsdaf.php (the .php is the only part that has to be that precisely). Upload the file into your Web root (next to the index.html file) and visit it in a browser: [http://example.com/sdfsdaf.php](http://example.com/sdfsdaf.php)
> 
> See what version of PHP you are running. If you want me to look it over, please e-mail me off-list with the actual link. If you’re not using mail to interact with this list, click on my name in the header of any message I’ve posted here to get to my contact information. If you are using mail, Control-click on my name in the From: header and choose Reply to Sender from the contextual menu.
> 
> Walter
> 
> On Sep 4, 2012, at 10:40 AM, Joe Walkling wrote:
> 
> > hi there  
> > here is the index-go.php content
> > 
> > [new-movement · GitHub](https://gist.github.com/811c346223228f4e40b5)
> > 
> > Joe
> > 
> > * * *
> > 
> > freewaytalk mailing list  
> > email@hidden  
> > Update your subscriptions at:  
> > [http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)
> 
> * * *
> 
> freewaytalk mailing list  
> email@hidden  
> Update your subscriptions at:  
> [http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

* * *

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

---

<div class="post-metadata">

**Author:** ![Joe\_Walkling](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/j/eb8c5e/32.png) [@Joe\_Walkling](https://discourse.softpress.com/u/Joe_Walkling)\
**Post date:** [September 4, 2012, 4:33pm UTC](https://discourse.softpress.com/t/pro-having-trouble-with-a-php-feedback-form/15008/8 "2012-09-04T16:33:56Z")

</div>

Hi Walter

not sure i’ve uploaded this right but this is the result of uploading the php info you suggested.

Joe

[http://newmovement.org.uk/sdfsdfadf.php](http://newmovement.org.uk/sdfsdfadf.php)

On 4 Sep 2012, at 13:54, Walter Lee Davis wrote:

> Can you post the contents of your index-go.php file on Gist or Pastie and paste the link to it here (all by itself on a single line, like this:)
> 
> [1’s gists · GitHub](https://gist.github.com/1)
> 
> The form looks to be set up correctly, for what it’s worth.
> 
> Walter
> 
> On Sep 4, 2012, at 8:47 AM, Joe Walkling wrote:
> 
> > It’s a single text field underneath the menu bar on the left hand side.  
> > The last time I used it was on a different server but when I looked at my 123-reg hosting it states that it supports php5.
> > 
> > * * *
> > 
> > freewaytalk mailing list  
> > email@hidden  
> > Update your subscriptions at:  
> > [http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)
> 
> * * *
> 
> freewaytalk mailing list  
> email@hidden  
> Update your subscriptions at:  
> [http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

* * *

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

---

<div class="post-metadata">

**Author:** ![waltd](https://discourse.softpress.com/user_avatar/discourse.softpress.com/waltd/32/2720_2.png) [@waltd](https://discourse.softpress.com/u/waltd)\
**Post date:** [September 4, 2012, 4:40pm UTC](https://discourse.softpress.com/t/pro-having-trouble-with-a-php-feedback-form/15008/9 "2012-09-04T16:40:18Z")

</div>

This server does not appear to support PHP. You can go ahead and delete this file, since you posted its URL to the whole world and his dog. Ask your hosting provider to enable PHP5 on this server. The rest should come naturally.

Walter

On Sep 4, 2012, at 12:33 PM, Joe Walkling wrote:

> Hi Walter
> 
> not sure i’ve uploaded this right but this is the result of uploading the php info you suggested.
> 
> Joe
> 
> [http://newmovement.org.uk/sdfsdfadf.php](http://newmovement.org.uk/sdfsdfadf.php)
> 
> On 4 Sep 2012, at 13:54, Walter Lee Davis wrote:
> 
> > Can you post the contents of your index-go.php file on Gist or Pastie and paste the link to it here (all by itself on a single line, like this:)
> > 
> > [1’s gists · GitHub](https://gist.github.com/1)
> > 
> > The form looks to be set up correctly, for what it’s worth.
> > 
> > Walter
> > 
> > On Sep 4, 2012, at 8:47 AM, Joe Walkling wrote:
> > 
> > > It’s a single text field underneath the menu bar on the left hand side.  
> > > The last time I used it was on a different server but when I looked at my 123-reg hosting it states that it supports php5.
> > > 
> > > * * *
> > > 
> > > freewaytalk mailing list  
> > > email@hidden  
> > > Update your subscriptions at:  
> > > [http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)
> > 
> > * * *
> > 
> > freewaytalk mailing list  
> > email@hidden  
> > Update your subscriptions at:  
> > [http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)
> 
> * * *
> 
> freewaytalk mailing list  
> email@hidden  
> Update your subscriptions at:  
> [http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

* * *

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