close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Contact form not working

Thread began 9/26/2009 10:08 am by jasonkline326722 | Last modified 9/28/2009 12:19 pm by Jason Byrnes | 1863 views | 9 replies |

jasonkline326722

Contact form not working

The Contact Form is not sending email or redirecting to thank you page after configuring WA_Globals config file.

Sign in to reply to this post

office172461

Have you seen this thread?
showthread.php?t=4375

Without any details it's hard to tell what the problem is.

10 Tips for getting quick help from a support forum
145/

Sign in to reply to this post

jasonkline326722

Hi thank for your prompt reply.

I saw that thread... and tried to replace the code but it did the same thing. When I fill out the form and click the submit button all fields are empty and no rediret to the thank you page.

Update:
When I copy the script on another domain and it worked ok. There must be some wrong with server settings. Any ideas?

Sign in to reply to this post

office172461

Not without knowing:

1. Server OS of the domain that worked
2. Host of the domain that worked
3. Server OS of the domain that didn't work
4. Host of the domain that didn't work
4. Server settings you are using

Still working in the dark here.

See:
10 Tips for getting quick help from a support forum
145/

Sign in to reply to this post

jasonkline326722

1. Linux OS
2. contactus.php
3. Linux OS
4. contactus.php

Sign in to reply to this post

jasonkline326722

Both on the same host server.

Sign in to reply to this post

office172461

OK so now we know:

1. Server OS of the domain that worked - Linux
2. Host of the domain that worked
3. Server OS of the domain that didn't work - Linux
4. Host of the domain that didn't work
4. Server settings you are using

PHP hides all of the internal workings from the browser so the links don't help. The domain names don't matter and I don't want to track down the hosting company through IP addresses.

The only thing I can suggest is to compare the two setups and find out what is different between the domains. You can also check with the support forum for the hosting company and see if others have had issues sending out email and what the requirements are.

Since it works on one domain, it is not an issue with the script.

Good luck with it.

Sign in to reply to this post

jasonkline326722

thank you... much

Sign in to reply to this post

jasonkline326722

interesting update...

I used contactus.php and is worked!

Sign in to reply to this post

Jason ByrnesWebAssist

The host may have disabled the $_SERVER["HTTP_REFERER"] variable. Try changing:

php:
if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)))     {





to:

php:
if ($_SERVER["REQUEST_METHOD"] == "POST")  {
Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...